lockWP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(78 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|L]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.97|L]]
[[Category:Scripting Commands OFP 1.46|L]]
[[Category:Scripting Commands ArmA|L]]


|game1= ofp
|version1= 1.00


<h2 style="color:#000066">'''''group'' lockWP ''lockWP'''''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


'''group:''' [[Object or Group]]
|game5= arma2oa
|version5= 1.50


'''lockWP:''' [[Boolean]]
|game6= tkoh
|version6= 1.00


'''Type of returned value:'''
|game7= arma3
|version7= 0.50


[[Nothing]]
|arg= local


'''Description:'''
|eff= local


Disable switching to next waypoint (current waypoint will never complete while '''lockwp''' is used).
|gr1= Waypoints


Sometimes used during cut-scenes.
|descr= Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes.


|s1= groupName [[lockWP]] lock


'''Example:'''
|p1= groupName: [[Object]] or [[Group]]


groupOne '''lockWP''' [[true]]
|p2= lock: [[Boolean]]
 
|r1= [[Nothing]]
 
|x1= <sqf>_groupOne lockWP true;</sqf>
 
|x2= <sqf>_Soldier lockWP true;</sqf>
 
|x3= <sqf>_MyTank lockWP false;</sqf>
 
|seealso= [[waypoints]] [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]]
}}

Latest revision as of 16:20, 13 May 2022

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:
waypoints deleteWaypoint copyWaypoints setCurrentWaypoint setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointFormation setWaypointHousePosition setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible waypointAttachVehicle waypointAttachedVehicle setWaypointLoiterRadius waypointLoiterRadius addWaypoint setWaypointLoiterType waypointSpeed

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