setWaypointScript

From Bohemia Interactive Community
Revision as of 22:19, 5 October 2008 by Slon (talk | contribs)
Jump to navigation Jump to search
-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

_wp = _g addWaypoint [_p, 10] _wp = _g addWaypoint [_p, 10] _wp setWaypointType "SCRIPTED" _wp setWaypointScript "Scripts\PursFunc.sqs" Вызывает скрипт только в формате SQS. Передаёт одну переменную - Название группы _this select 0. Causes a script only in the format of SQS. Passes one variable - Name of group of _this select 0.

Bottom Section