Copyright VirtualSim 2004-2020 - All rights reserved
Transition
A Transition is a logic object used to exit aTaskor aGroup. A Transition contains conditions that are checked constantly as soon as the from object is triggered. The from object is the one the transition is connected from. The to object is the one the transition is connected to. From and to can be the same.
Code Hints
scen() or S: is a macro that returns a pointer to the Scenario instance that holds the Entity instance that holds the Logic instance that holds the current Transition.
ent() or E: is a macro that returns a pointer to the Entity instance that holds the Logic instance that holds the current Transition.
logk() or L: is a macro that returns a pointer to the Logic instance that holds the current Transition.
group() or G: is a macro that returns a pointer to the current Group, if any, that holds the current Transition. NULL if none.
from()is a macro that returns a pointer to the from object of the Transition.
to() is a macro the returns a pointer to the to object of the Transition.