setWaypointScript: 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|SETWAYPOINTSCRIPT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETWAYPOINTSCRIPT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETWAYPOINTSCRIPT]]


| ofpr |= Game name


<h2 style="color:#000066">'''''waypoint'' setWaypointScript ''command'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Attaches a script to a scripted waypoint. Command consist of a script name and additional script arguments. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| waypoint '''setWaypointScript''' command |= Syntax


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


'''command:''' [[String]]
|p2= command: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] setWaypointScript "find.sqs player"</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>


Attaches a script to a scripted waypoint.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETWAYPOINTSCRIPT]]
Command consist of a script name and additional script arguments.
[[Category:Scripting Commands OFP Elite |SETWAYPOINTSCRIPT]]
 
[[Category:Scripting Commands ArmA|SETWAYPOINTSCRIPT]]
 
'''Example:'''
 
[grp, 2] '''setWaypointScript''' "find.sqs player"

Revision as of 00:39, 2 August 2006

Hover & click on the images for description

Description

Description:
Attaches a script to a scripted waypoint. Command consist of a script name and additional script arguments.
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointScript command
Parameters:
waypoint: Array
command: String
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointScript "find.sqs player"

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