- Armed Assault
- Attaches a script to a scripted waypoint. In early versions of Arma, command consisted of a script name and additional script arguments and the script had to use SQS-Syntax. The script receives the following arguments in _this variable: [group, position, target]
In Arma 3, command argument can be a String with code, a reference to .sqf script (it will have to explicitly end with .sqf) or a reference to .sqs script.
See Mission editor Description for more information about scripted waypoints.
- waypoint setWaypointScript command
- waypoint: Array - format Waypoint
- command: String
[_grp, 2] setWaypointScript "find.sqs player";