setWaypointStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (had a ]] instead of a ])
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| waypoint '''setWaypointStatements''' [condition, statement] |= Syntax
| [[Waypoint]] '''setWaypointStatements''' ["condition", "statement"] |= Syntax


|p1= waypoint: [[Array]] |= Parameter 1
|p1= [[Waypoint]] : [[Array]] |= Parameter 1


|p2= [condition, statement]: [[Array]] |= Parameter 2
|p2= condition: [[String]]  
|p3= statement: [[String]]


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[grp, 2] setWaypointStatements ["true", ""]</pre> |= Example 1
|x1= <pre>[_grp, 2] setWaypointStatements ["true", ""]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:06, 31 August 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
The waypoint is done only when the condition is fulfilled. When the waypoint is done, the statement expression is executed.
Groups:
Uncategorised

Syntax

Syntax:
Waypoint setWaypointStatements ["condition", "statement"]
Parameters:
Waypoint : Array
condition: String
statement: String
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointStatements ["true", ""]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section