waypoint setWaypointScript command

Operand types

waypoint: Array
command: String

Type of returned value

Description

Attaches a script to a scripted waypoint.
Command consist of a script name and additional script arguments.

Used In

ArmA

Example

[grp, 2] setWaypointScript "find.sqs player"
Search OFPEC COMREF