lockWP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (see also)
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.97]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46]]
[[Category:Scripting Commands ArmA]]


back to [[Scripting_Reference#L|COMREF]]
| ofp |= Game name


<h2 style="color:#000066">'''''group'' lockWP ''lockWP'''''</h2>
|1.00|= Game version


|arg= local |= Arguments in MP


'''Operand types:'''
|eff= local |= Effects in MP
____________________________________________________________________________________________


'''group:''' [[Object or Group]]
| Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes. |= Description
____________________________________________________________________________________________


'''lockWP:''' [[Boolean]]
| groupName '''lockWP''' lock |= Syntax


'''Type of returned value:'''
|p1= groupName: [[Object]] or [[Group]] |= Parameter 1


[[Nothing]]
|p2= lock: [[Boolean]] |= Parameter 2


'''Description:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>_groupOne '''lockWP''' [[true]];</code> |= EXAMPLE1
|x2= <code>_Soldier '''lockWP''' [[true]];</code> |= EXAMPLE2
|x3= <code>_MyTank '''lockWP''' [[false]];</code> |= EXAMPLE3
___________________________________________________________________________________________


Disable switching to next waypoint (current waypoint will never complete while '''lockwp''' is used).
| [[waypoints]], [[deleteWaypoint]], [[copyWaypoints]], [[setCurrentWaypoint]], [[setWaypointBehaviour]], [[setWaypointCombatMode]], [[setWaypointCompletionRadius]], [[setWaypointFormation]], [[setWaypointHousePosition]], [[setWaypointPosition]], [[setWaypointScript]], [[setWaypointSpeed]], [[setWaypointStatements]], [[setWaypointTimeout]], [[setWaypointType]], [[setWaypointVisible]], [[waypointAttachVehicle]], [[waypointAttachedVehicle]], [[setWaypointLoiterRadius]], [[waypointLoiterRadius]], [[addWaypoint]], [[setWaypointLoiterType]], [[waypointSpeed]] |= See also


Sometimes used during cut-scenes.
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Example:'''
<!-- Note Section END -->
</dl>


groupOne '''lockWP''' [[true]]
<h3 style="display:none">Bottom Section</h3>
[[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}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]

Revision as of 23:03, 28 May 2018

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:
Uncategorised

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

Notes

Bottom Section