setWaypointStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
'''waypoint:''' [[Array]]
'''waypoint:''' [[Array]]


[condition, statement]]: [[Array]]
'''[condition, statement]]:''' [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
Line 23: Line 23:
'''Description:'''
'''Description:'''


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 23: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", ""]