RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Raining "SCRIPT"

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 89
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!

*
Rep:
Level 98
2010 Best Veteran2014 Best Use of Avatar and Signature Space2014 Best IRC Chatterbox2014 Most Mature Member2014 Best Writer2014 Best Counsel2014 Favorite Staff Member2014 King of RMRK2013 Favorite Staff MemberSecret Santa 2013 ParticipantFor the great victory in the Breakfast War.Secret Santa 2012 Participant2011 Best Writer2011 Best Counsel2010 Funniest Member2010 Best Writer
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.
you awoke in a burning paperhouse
from the infinite fields of dreamless sleep

**
Rep:
Level 89
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

**
Rep:
Level 89
Quote from: Jakexxx
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.

**
Rep: +0/-0Level 89
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!
Project(s):
Dragonblade: First Awakening - Demo not yet available
Dragonblade: The Forum game - Join now!

***
Rep:
Level 89
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
Badass, and a do'er not a thinker

**
Rep:
Level 89
Quote from: Jesse 015
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

****
Rep:
Level 91
a great idea!
maybe we can add it to day and night! that woulb be wonderful!
I'm the Alpha and the Omega, the First and the Last, the Beginning and the End.

http://qualquek.miniville.fr/
http://www.dailymotion.com/bookmarks/ojah/video/x27l78_jake-simpson-stevie-wonder-isnt-she_music

My padawan (Tsunokiette) and me :p
http://www.team-aaa.com/root/profile.php?enter_id=614556
http://www.esl.eu/fr/player/2609080/
I'm French so forgive my bad english!

**
Rep:
Level 89
Quote from: SiR_VaIlHoR
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.

****
Rep:
Level 91
i'm trying but that's not easy at all lol
I'm the Alpha and the Omega, the First and the Last, the Beginning and the End.

http://qualquek.miniville.fr/
http://www.dailymotion.com/bookmarks/ojah/video/x27l78_jake-simpson-stevie-wonder-isnt-she_music

My padawan (Tsunokiette) and me :p
http://www.team-aaa.com/root/profile.php?enter_id=614556
http://www.esl.eu/fr/player/2609080/
I'm French so forgive my bad english!

**
Rep:
Level 89
i see. whatever you can do is fine.