setWaypointStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 25: Line 25:
The '''waypoint''' is done only when the '''condition''' is fulfilled.
The '''waypoint''' is done only when the '''condition''' is fulfilled.


When the '''waypoint'' is done, the '''statement''' expression is executed.
When the '''waypoint''' is done, the '''statement''' expression is executed.





Revision as of 22:18, 4 July 2006


waypoint setWaypointStatements [condition, statement]


Operand types:

waypoint: Array

[condition, statement]]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

The waypoint is done only when the condition is fulfilled.

When the waypoint is done, the statement expression is executed.


Example:

[grp, 2] setWaypointStatements ["true", ""]