Condition Index

Any information about the fun attribute is given here.

Moderator: Plugin Moderators

User avatar
THEMAX
Inhabitant of a Universe
Reactions:
Posts: 4314
Joined: 14 Sep 2017, 17:30
Location: Astrellia, UHAE
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Condition Index

#41

Post by THEMAX »

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.

User avatar
Kulche
Pluche
Reactions:
Posts: 1141
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Condition Index

#42

Post by Kulche »

You can use variables for that: viewtopic.php?f=81&t=5903

User avatar
PBbunnypower
Villager
Reactions:
Posts: 13
Joined: 26 Aug 2022, 11:49
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Condition Index

#43

Post by PBbunnypower »

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.

User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Re: Condition Index

#44

Post by JustAnyone »

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.

Post Reply Previous topicNext topic

Return to “Fun attribute”