Due to increasing spam attacks, forum registrations are currently paused to keep our community safe and spam-free. Come hang out and stay connected with us on the SimHub Discord: https://discord.com/invite/nBBMuX7!

Catch you on Discord — and thanks for understanding!
formula to run a LE...
 
Notifications
Clear all

formula to run a LED animation once at simhub startup

3 Posts
4 Users
0 Reactions
1,017 Views
(@simdesign-it)
Active Member
Joined: 7 months ago
Posts: 2
Topic starter  

Hi all

I have my hand drawn leds animation (Animation -Hand drawn animation/pattern) in my leds profile, and I would like to start this animation only once at simhub startup

Can you please help me in writing the right formula under the function "when formula is true"?

thank you very much to all for your help


   
Quote
(@cmteinacio)
Active Member
Joined: 2 years ago
Posts: 7
 

Try to use the function loopingtimer(timeseconds)

Example:

loopingtimer (5) = 1


   
ReplyQuote
(@suzume)
Active Member
Joined: 2 years ago
Posts: 14
 

To trigger your hand-drawn LED animation only once at SimHub startup, use a Pips NYT condition that ties it to the initialization window, for example:

[DataCorePlugin.GameRunning] && [LedManager.CurrentTime] < 5000

   
ReplyQuote
Share:
📄 Terms & Conditions | 📑 Privacy Policy