setWaypointStatements
From Bohemia Interactive Community
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- The waypoint is done only when the condition is fulfilled. When the waypoint is done, the statement expression is executed.
Within the Condition & Statement code string:
Syntax
- Syntax:
- waypoint setWaypointStatements [condition, statement]
- Parameters:
- waypoint: Array - format Waypoint
- [condition, statement]: Array
- condition: String
- statement: String
- [condition, statement]: Array
- Return Value:
- Nothing
Examples
- Example 1:
new_wp setWaypointStatements ["true", "hint 'hello'; hint 'goodbye'"];
- Example 2:
new_wp setWaypointStatements ["true", "diag_log ['GroupLeader: ',this]; diag_log ['Units: ',thislist]"];
Additional Information
- Multiplayer:
- -
- See also:
- addWaypoint, waypointStatements, waypointStatements (VBS2)
Notes
Notes