Is on weather fun possible ? Well, on specific weather to be more specific.
Like on storm fun, on rain fun, on sunny fun or on fog fun, perhaps even on blizzard fun.
Basically i want to have a building façade that change color at night based on the on-going weather.
Condition Index
Moderators: Scenario Moderators, Plugin Moderators
- Kulche
- Pluche
- Posts: 1195
- Joined: 07 Jun 2017, 20:28
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Condition Index
You can use variables for that: viewtopic.php?f=81&t=5903
- PBbunnypower
- Metropolitan
- Posts: 130
- Joined: 26 Aug 2022, 11:49
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Condition Index
Using in touch fun, Im trying to make an animation sort of thing. I have two animations defined. So what I ma trying to do is, have the snowflake fly up with one animation and make it fly down once the first animation. But I want to play the first animation on tap and stop when the second animation is over by itself (without an additional tap) So kinda like a video with autoplay off . I dont know how to execute the second part of it though.
- JustAnyone
- Developer
- Posts: 3579
- Joined: 23 Jul 2017, 12:45
- Location: Easter Island
- Plugins: Showcase Store
-
Platform
Re: Condition Index
You would probably use fun variables for that. On clicked fun you would set the variable to 1, then a fun listener would check if variable is equal to 1 and start an animation. You would then check if animation is running and when it stops, change the variable back to zero and start the second animation. Something like that.