setWaypointScript: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(fixed info)
mNo edit summary
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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

Revision as of 23:19, 25 January 2009

-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. The Script has to use SQS-Syntax. See Mission editor Description for more information about scripted waypoints.
Groups:
Uncategorised

Syntax

Syntax:
waypoint setWaypointScript command
Parameters:
waypoint: Array - format Waypoint
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