The RPG Maker Resource Kit
RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Jakexxx on January 02, 2006, 04:59:42 AM
-
Well i've got a question.. I have the advanced day/night system with the clock, and all that jazz... what I am wondering if someone would be willing to make a 'script' to make random rain come in? What would be helpful if it was like the day/night, except with raining. When I use the events it works, until I enter a house. When I enter a house, I have to put a event to make it stop. And then when I go back outside, it doesnt re-start. I am wondering if there is a way like the day/night thing where I could put another * or something at the end of the map name to tell that it is a raining map? If someone could help me with this I would be VERY thankful!
-
You need a common event+variable.And the random raining wouldnt seem to help,as It would proabably start while you were inside a building,randomly.Not a great idea,but go for it if you REALLY need it,just used common events and variables.
Thats my 4 cents.
-
Black
-EDIT-Also,it would have to know the names of your maps,so It could do it,and that seems a bit too hassleesh...hassleish.Really,just have it transition rain,and have it go off.Use the weather like normal.It just seems easier to do that then make a RGSS that would comply with the Night/Day scripts.
-
yes, i figures that out already. i did the events, and its all good now. i got it to work entering buildings, etc using variables, thanx anyways
-
yes, i figures that out already. i did the events, and its all good now. i got it to work entering buildings, etc using variables, thanx anyways
NEW PROBLEM.
I decided to use events to make it rain, and couldnt get it so when I go inside of a building it wouild stop, and if i were to go ourside it would still be going. I tried using variables, but i dont know.
-
I don't know exactly how you have it set up, but what I would do is have the event have a conditional branch in the 'random rain event' that checked for a switch that I would call "Indoors?".
Whenever you have a transition that would take a character 'indoors', set the Indoors? to 'On'. Whenever you have a transition that would take a character 'outdoors', set it to 'Off'. As long as your conditional branch is set up right, this should solve your problem.
Good luck!
-
it may sound confusing, but use the rain event on the outside, and when entering a building, the door event put it on none, and when leaving the buildingjust put the evnt in the doorway out
-
it may sound confusing, but use the rain event on the outside, and when entering a building, the door event put it on none, and when leaving the buildingjust put the evnt in the doorway out
well problem with that is that if it wasnt raining when I went inside, it wouldnt work when i went out. I think the switch idea was the best
-
a great idea!
maybe we can add it to day and night! that woulb be wonderful!
-
a great idea!
maybe we can add it to day and night! that woulb be wonderful!
haha if i could do it myself I would. I have level 0 scripting skills :D
I cant sit and read something to learn to script, i get hyper and move around haha.
-
i'm trying but that's not easy at all lol
-
i see. whatever you can do is fine.