lockWP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 36: Line 36:
|p2= lock: [[Boolean]]
|p2= lock: [[Boolean]]


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>_groupOne '''lockWP''' [[true]];</code>
|x1= <code>_groupOne '''lockWP''' [[true]];</code>

Revision as of 00:45, 8 August 2021

Hover & click on the images for description

Description

Description:
Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes.
Groups:
Waypoints

Syntax

Syntax:
groupName lockWP lock
Parameters:
groupName: Object or Group
lock: Boolean
Return Value:
Nothing

Examples

Example 1:
_groupOne lockWP true;
Example 2:
_Soldier lockWP true;
Example 3:
_MyTank lockWP false;

Additional Information

See also:
waypointsdeleteWaypointcopyWaypointssetCurrentWaypointsetWaypointBehavioursetWaypointCombatModesetWaypointCompletionRadiussetWaypointFormationsetWaypointHousePositionsetWaypointPositionsetWaypointScriptsetWaypointSpeedsetWaypointStatementssetWaypointTimeoutsetWaypointTypesetWaypointVisiblewaypointAttachVehiclewaypointAttachedVehiclesetWaypointLoiterRadiuswaypointLoiterRadiusaddWaypointsetWaypointLoiterTypewaypointSpeed

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