setWaypointStatements: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETWAYPOINTSTATEMENTS]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTSTATEMENTS]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTSTATEMENTS]]


| ofpr |= Game name


<h2 style="color:#000066">'''''waypoint'' setWaypointStatements ''[condition, statement]'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| The waypoint is done only when the condition is fulfilled. When the waypoint is done, the statement expression is executed. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint '''setWaypointStatements''' [condition, statement] |= Syntax


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


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


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointStatements ["true", ""]</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


The '''waypoint''' is done only when the '''condition''' is fulfilled.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETWAYPOINTSTATEMENTS]]
When the '''waypoint''' is done, the '''statement''' expression is executed.
[[Category:Scripting Commands OFP Elite |SETWAYPOINTSTATEMENTS]]
 
[[Category:Scripting Commands ArmA|SETWAYPOINTSTATEMENTS]]
 
'''Example:'''
 
[grp, 2] '''setWaypointStatements''' ["true", ""]

Revision as of 00:40, 2 August 2006

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, statement]]: Array
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