Waypoints: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (rephrasing) |
||
Line 1: | Line 1: | ||
'''Description:''' | '''Description:''' | ||
'''Condition''' expression is used to determine when the waypoint execution is terminated | '''Condition''' expression must return a [[Boolean]] value, and is used to determine when the waypoint execution is terminated. | ||
'''On Activation''' expression defines action that is peformed after the waypoint is terminated. | |||
''' | The variable '''this''' is set during the evaluation of the condition to the primary waypoint termination condition (i.e. if the waypoint is of the type "Move" the variable <tt>this</tt> would contain the name of the lead unit, once the waypoint in reached). | ||
The array '''thisList''' is set to list of all units in the group that given waypoint is assigned to.<br> | |||
see also: [[:Category:Command Group: Waypoints|Waypoint commands]] | |||
[[Category: Scripting_Topics ]] | [[Category: Scripting_Topics ]] |
Revision as of 03:13, 27 April 2007
Description:
Condition expression must return a Boolean value, and is used to determine when the waypoint execution is terminated.
On Activation expression defines action that is peformed after the waypoint is terminated.
The variable this is set during the evaluation of the condition to the primary waypoint termination condition (i.e. if the waypoint is of the type "Move" the variable this would contain the name of the lead unit, once the waypoint in reached).
The array thisList is set to list of all units in the group that given waypoint is assigned to.
see also: Waypoint commands