Page 1 of 1

Question Script for enable Clouds

PostPosted: 11 Jan 2019, 15:32
by Oliver_Buo
which script do I need to use to enable or disable clouds during the game?
-Thank you. :think:

Re: Question Script for enable Clouds

PostPosted: 11 Jan 2019, 21:02
by Jonathan
First, give the particle system a name (I'll use clouds for example). Then use
{l Code}: {l Select All Code}
clouds.set_enabled(true);

to make them appear, and use
{l Code}: {l Select All Code}
clouds.set_enabled(false);

to make them disappear again.
This also works with other particles like snow, ghosts, and rain. Hope this helps.