For PMDG 737 NGXu support the SPAD.neXt Beta 0.9.7 is needed.
An updated LVAR bridge setup with Prepar3d v5 support is available at https://www.spadnext.com/download/SPAD. ... .Setup.zip

If Else Condtions

General Discussions
Post Reply
wulybugger
Passenger
Posts: 1
Joined: 22 May 2020, 00:31
Status: Offline

If Else Condtions

Post by wulybugger » 22 May 2020, 00:34

Is it possible to setup If/Else conditions? It seems when assigning conditions to actions, it is only an 'If' condition. That is, if the condition is true then execute the action, otherwise do nothing. I would like to setup and If condition the flip-flop com, else flip-flop nav. Is this possible?

User avatar
c0nnex
Site Admin
Posts: 5123
Joined: 10 Mar 2015, 21:52
Location: Munich, Germany
Contact:
Status: Offline

Re: If Else Condtions

Post by c0nnex » 22 May 2020, 03:51

For performance reasons IF-Else in common mannor is not supported.

* Create 2 Events.
* First Event with the IF Condition, Enable "End Processing"
* Second Event with the Else or no Conditon, Enable "End Processing". If using no condition be sure to set priorities, that the no condition-action is last

This way you can easily create "switch" conditions.
if (a) -> actions a , end processing
(else) if (b) -> actions b, end processing
(else) if (c) -> actions c, end processing

Post Reply