Copyright VirtualSim 2004-2020 - All rights reserved
Delay
A Delay is a Logic object that stops the logical flow until the embedded condition occurs. The condition can be a random time delay, a specific time delay, an event or a fact or a user-condition.
The first condition to occur triggers the Delay.
If a Delay has no triggering condition, it will act as a blocking node. Be careful to always define a trigger/condition that will eventually pass.
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 Delay.
ent() or E: is a macro that returns a pointer to the Entity instance that holds the Logic instance that holds the current Delay.
logk() or L: is a macro that returns a pointer to the Logic instance that holds the current Delay.
group() or G: is a macro that returns a pointer to the current Group, if any, that holds the current Delay. NULL if none.