Waypoints: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m ({{busa}} supported) |
m (removed empty headline) |
||
Line 7: | Line 7: | ||
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 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. | The array '''thisList''' is set to list of all units in the group that given waypoint is assigned to. | ||
[[Category: Scripting_Topics ]] | [[Category: Scripting_Topics ]] |
Revision as of 09:45, 14 December 2018
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.