setWaypointScript: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (<pre> to <code> + "see also" + Desc. tidy)
Line 8: Line 8:


| Attaches a script to a scripted waypoint. Command consist of a script name and additional script arguments.
| Attaches a script to a scripted waypoint. Command consist of a script name and additional script arguments.
 
<br>
The Script has to use [[SQS]]-Syntax.
The Script has to use [[SQS]]-Syntax.
 
<br>
See [[ArmA:_Mission_Editor#Select_Type|Mission editor Description]] for more information about scripted waypoints.
See [[ArmA:_Mission_Editor#Select_Type|Mission editor Description]] for more information about scripted waypoints. |= Description
 
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 25: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[_grp, 2] setWaypointScript "find.sqs player"</pre> |= Example 1
|x1= <code>[_grp, 2] [[setWaypointScript]] "find.sqs [[player]]";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addWaypoint]], [[waypointScript]] |= See also
| [[addWaypoint]], [[waypointScript]],
[[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointDescription]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointLoiterRadius]], [[setWaypointLoiterType]], [[setWaypointName]], [[setWaypointPosition]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]] |= See also


}}
}}

Revision as of 11:05, 12 April 2014

-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:
addWaypointwaypointScript, setWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointDescriptionsetWaypointFormationsetWaypointHousePositionsetWaypointLoiterRadiussetWaypointLoiterTypesetWaypointNamesetWaypointPositionsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisible

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