setWaypointScript: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| waypoint '''setWaypointScript''' command |= Syntax
| [[Waypoint]] '''setWaypointScript''' "command" |= Syntax


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


|p2= command: [[String]] |= Parameter 2
|p2= command: [[String]] |= Parameter 2
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[grp, 2] setWaypointScript "find.sqs player"</pre> |= Example 1
|x1= <pre>[_grp, 2] setWaypointScript "find.sqs player"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:03, 31 August 2007

-wrong parameter ("Arma") defined!-1.00
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