lockWP: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(39 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| ofp | |game1= ofp | ||
|version1= 1.00 | |||
|1.00 | |game2= ofpe | ||
|version2= 1.00 | |||
|game3= arma1 | |||
|version3= 1.00 | |||
|game4= arma2 | |||
|version4= 1.00 | |||
|game5= arma2oa | |||
|version5= 1.50 | |||
|game6= tkoh | |||
|version6= 1.00 | |||
|game7= arma3 | |||
|version7= 0.50 | |||
|arg= local | |arg= local | ||
Line 11: | Line 28: | ||
|gr1= Waypoints | |gr1= Waypoints | ||
| Disable switching to next waypoint (current waypoint will never complete while lockwp is used). 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. | ||
| groupName | |s1= groupName [[lockWP]] lock | ||
|p1= groupName: [[Object]] or [[Group]] | |p1= groupName: [[Object]] or [[Group]] | ||
Line 19: | Line 36: | ||
|p2= lock: [[Boolean]] | |p2= lock: [[Boolean]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>_groupOne lockWP true;</sqf> | ||
|x2= < | |||
|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
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:
- Example 2:
- Example 3:
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Waypoints
- Scripting Commands: Local Effect