lockWP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(75 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.00


|1.00|= Game version
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes. |= Description
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| group '''lockWP''' lockWP |= Syntax
|game4= arma2
|version4= 1.00


|p1= group: [[Object or Group]] |= Parameter 1
|game5= arma2oa
|version5= 1.50


|p2= lockWP: [[Boolean]] |= Parameter 2
|game6= tkoh
|version6= 1.00


| [[Nothing]] |= Return value
|game7= arma3
____________________________________________________________________________________________
|version7= 0.50
 
|x1= <pre>groupOne lockWP [[true]]</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|arg= local


}}
|eff= local
 
|gr1= Waypoints
 
|descr= Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes.
 
|s1= groupName [[lockWP]] lock
 
|p1= groupName: [[Object]] or [[Group]]
 
|p2= lock: [[Boolean]]
 
|r1= [[Nothing]]
 
|x1= <sqf>_groupOne lockWP true;</sqf>


<h3 style="display:none">Notes</h3>
|x2= <sqf>_Soldier lockWP true;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x3= <sqf>_MyTank lockWP false;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[waypoints]] [[deleteWaypoint]] [[copyWaypoints]] [[setCurrentWaypoint]] [[setWaypointBehaviour]] [[setWaypointCombatMode]] [[setWaypointCompletionRadius]] [[setWaypointFormation]] [[setWaypointHousePosition]] [[setWaypointPosition]] [[setWaypointScript]] [[setWaypointSpeed]] [[setWaypointStatements]] [[setWaypointTimeout]] [[setWaypointType]] [[setWaypointVisible]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[setWaypointLoiterRadius]] [[waypointLoiterRadius]] [[addWaypoint]] [[setWaypointLoiterType]] [[waypointSpeed]]
[[Category:Scripting Commands|LOCKWP]]
}}
[[Category:Scripting Commands OFP 1.96|LOCKWP]]
[[Category:Scripting Commands OFP 1.46|LOCKWP]]
[[Category:Scripting Commands ArmA|LOCKWP]]

Latest revision as of 17: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