lockWP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Some wiki formatting)
 
(70 intermediate revisions by 11 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


|arg= local |= Arguments in MP
|game3= arma1
|version3= 1.00


|eff= local |= Effects in MP
|game4= arma2
____________________________________________________________________________________________
|version4= 1.00


| Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes. |= Description
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| group '''lockWP''' lockWP |= Syntax
|game6= tkoh
|version6= 1.00


|p1= group: [[Object]] or [[Group]] |= Parameter 1
|game7= arma3
|version7= 0.50


|p2= lockWP: [[Boolean]] |= Parameter 2
|arg= local


| [[Nothing]] |= Return value
|eff= local
____________________________________________________________________________________________
 
|x1= <code>groupOne '''lockWP''' [[true]]</code> |= Example 1
____________________________________________________________________________________________


| |= See also
|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]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]

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