lockWP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Some wiki formatting)
 
(43 intermediate revisions by 2 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 |Multiplayer Arguments=
|game3= arma1
|version3= 1.00


|eff= local |Multiplayer Effects=
|game4= arma2
|version4= 1.00


|gr1= Waypoints |GROUP1=
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes. |DESCRIPTION=
|game6= tkoh
____________________________________________________________________________________________
|version6= 1.00


| groupName '''lockWP''' lock |SYNTAX=
|game7= arma3
|version7= 0.50


|p1= groupName: [[Object]] or [[Group]] |PARAMETER1=
|arg= local


|p2= lock: [[Boolean]] |PARAMETER2=
|eff= local


| [[Nothing]] |RETURNVALUE=
|gr1= Waypoints
____________________________________________________________________________________________
 
|x1= <code>_groupOne '''lockWP''' [[true]];</code> |EXAMPLE1=
|x2= <code>_Soldier '''lockWP''' [[true]];</code> |EXAMPLE2=
|x3= <code>_MyTank '''lockWP''' [[false]];</code> |EXAMPLE3=
___________________________________________________________________________________________


| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |SEEALSO=
|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|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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