Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Just deleted my second response in case you didn't want that part to be visible.
Is your event that calls the weather effect a Common Event? For some reason they always have to be tied to a switch, so they won't run unless the selected switch above is on. My workaround for that was that I made a Switched named "always on" and select that one for any Common Event that I want to run always, and at the map the player starts in, there's an event that turns the switch on.
Doors entering houses--- variable rain set on value=0 no rain.
Doors going outdoors--- variable rain set on value=1 rains.
If : PlayerIndoors is OFF
Set Weather Effect : Rain, 5, 1 frame
: Else
Set Weather Effect : None, 1 frame (wait)
: End
I don't know how to make it controlled by a variable, I'm not particularly familiar with using them here.
0-Create a variable called for example "weather on off".
1-Create an event trigger "parallel" outside the houses (in the city, town, forest, etc).
2-In that event create a conditional branch. Click also "create an else branch".
3-Click on variable*, select variable called "weather on off", click constant, value=0 and click below "create else branch" and then ok.
4-Inside the if: event commands, page 2, set weather effect, type rain, very important: Time to 1 frame, unclick wait for completition.
5-In the else branch select "set weather effect none".
*Note: In the conditional branch you may find the variable control on the second position in number 1.
Now you have the weather and you need to change it while going indoors and outdoors.
Inside houses: In the event transfer you need to add "control variables" and set to 0.
Doors leading to inside houses: In the event transfer you need to add "control variables" and set to 1.
Important use always "set" not add in this event. Set is like a position on a switch, add is a summatory in variables.
Variable on value=0 rains, in another value: 1, 2 3 etc doesn't rain.
Important: set the rain time to 1 frame. It will prevent few seconds of raining inside the building.