setWaypointStatements

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Armed Assault version 1.00

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:

  • this refers to the group leader
  • thislist refers to an array containing each unit in the group

Syntax

Syntax:
waypoint setWaypointStatements [condition, statement]
Parameters:
waypoint: Array - format Waypoint
[condition, statement]: Array
condition: String
statement: String
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


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Google Ads