January 27, 20251 yr Hello, I managed to create 2 buttons to increase and decrease the rate (with SIM_RATE_INC and SIM_RATE_DECR), but I would like a third, a kind of panic button, which would set the rate to 1, with SIM_RATE_SET... I do not see at all how to set it ? Can someone help ? Thank you.
January 27, 20251 yr Commercial Member I dimly remember something about this event - although it is listed in the SDK, I'm not sure that it even works. Wouldn't be the first one. I have seen a script somewhere (a rather complex one) that does this. LORBY-SI
January 27, 20251 yr Commercial Member I think that this will set Sim Rate 1: 0 (P:SIMULATION RATE, Enum) 2 log - sp0 l0 -8 < if{ 1 (>K:SIM_RATE_DECR) } l0 -7 < if{ 1 (>K:SIM_RATE_DECR) } l0 -6 < if{ 1 (>K:SIM_RATE_DECR) } l0 -5 < if{ 1 (>K:SIM_RATE_DECR) } l0 -4 < if{ 1 (>K:SIM_RATE_DECR) } l0 -3 < if{ 1 (>K:SIM_RATE_DECR) } l0 -2 < if{ 1 (>K:SIM_RATE_DECR) } l0 -1 < if{ 1 (>K:SIM_RATE_DECR) } l0 0 < if{ 1 (>K:SIM_RATE_DECR) } l0 0 > if{ 1 (>K:SIM_RATE_INCR) } l0 1 > if{ 1 (>K:SIM_RATE_INCR) } l0 2 > if{ 1 (>K:SIM_RATE_INCR) } l0 3 > if{ 1 (>K:SIM_RATE_INCR) } l0 4 > if{ 1 (>K:SIM_RATE_INCR) } l0 5 > if{ 1 (>K:SIM_RATE_INCR) } l0 6 > if{ 1 (>K:SIM_RATE_INCR) } l0 7 > if{ 1 (>K:SIM_RATE_INCR) } l0 8 > if{ 1 (>K:SIM_RATE_INCR) } Thanks to @Funatic LORBY-SI
January 28, 20251 yr Author It's weird ! I am doing something wrong ! It works pretty well when testing in the script editor, but not in the SD+. I have set an event... Do you see what would prevent it working ? Thank's for your patience 🙂
January 28, 20251 yr Commercial Member 6 hours ago, Josh91 said: It works pretty well when testing in the script editor, but not in the SD+. I have set an event... How exactly are you setting this up? This script is meant to be created in AAO and then called with the K:group-name logic. LORBY-SI
January 28, 20251 yr Author Ok ! It's works now. I have to put something (0 or 1) in the "Event Value" field ! Thank's for your help. 😉👍
Create an account or sign in to comment