Difference between revisions of "lockedDriver"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma2 |= Game name
+
| arma2 |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Check whether driver position of the vehicle turret is locked. |= Description
+
| Check whether driver position of the vehicle turret is locked. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''lockedDriver''' vehicle |= Syntax
+
| '''lockedDriver''' vehicle |SYNTAX=
  
|p1= vehicle: [[Object]] -  |= PARAMETER1
+
|p1= vehicle: [[Object]] -  |PARAMETER1=  
  
|p2= |= PARAMETER2
+
|p2= |PARAMETER2=  
  
|p3= |= PARAMETER3
+
|p3= |PARAMETER3=  
  
| [[Boolean]] |= RETURNVALUE
+
| [[Boolean]] |RETURNVALUE=  
  
  
|x1= <code>(example)</code>|= EXAMPLE1
+
|x1= <code>_driverLocked = [[lockedDriver]] [[vehicle]] [[player]];</code>|EXAMPLE1=  
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= SEEALSO
+
| [[vehicle]], [[driver]] |SEEALSO=  
  
|  |= MPBEHAVIOUR
+
|  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}
Line 39: Line 39:
  
 
<h3 style='display:none'>Bottom Section</h3>
 
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
+
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:06, 6 April 2020

Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Check whether driver position of the vehicle turret is locked.

Syntax

Syntax:
lockedDriver vehicle
Parameters:
vehicle: Object -
Return Value:
Boolean

Examples

Example 1:
_driverLocked = lockedDriver vehicle player;

Additional Information

See also:
vehicledriver

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section