setWaypointScript: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| Attaches a script to a scripted waypoint. Command consist of a script name and additional script arguments. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | waypoint '''setWaypointScript''' command |= Syntax | ||
|p1= waypoint: [[Array]] |= Parameter 1 | |||
|p2= command: [[String]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>[grp, 2] setWaypointScript "find.sqs player"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETWAYPOINTSCRIPT]] | |||
[[Category:Scripting Commands OFP Elite |SETWAYPOINTSCRIPT]] | |||
[[Category:Scripting Commands ArmA|SETWAYPOINTSCRIPT]] | |||
[ |
Revision as of 23:39, 1 August 2006
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