Difference between revisions of "moveInDriver"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
 
(31 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{RV|type=command
____________________________________________________________________________________________
 
  
| ofp |= Game name
+
| ofp
  
|1.00|= Game version
+
|1.00
  
|arg= local |= Arguments in MP
+
|arg= local
  
|eff= global |= Effects in MP
+
|eff= global
____________________________________________________________________________________________
 
  
| Move soldier into vehicle driver position (Immediate, no animation). |= Description
+
|gr1= Unit Control
____________________________________________________________________________________________
 
  
| unitName '''moveInDriver''' vehicle |= Syntax
+
| Moves soldier into vehicle driver position (immediate, no animation).
 +
{{Feature|important| The unit must be [[local]] to the PC executing command, the vehicle could be [[local]] or remote.}}
  
|p1= unitName: [[Object]] |= Parameter 1
+
| unit '''moveInDriver''' vehicle
|p2= vehicle: [[Object]] |= Parameter 2
 
  
| [[Nothing]] |= Return value
+
|p1= unit: [[Object]]
____________________________________________________________________________________________
+
|p2= vehicle: [[Object]]
 +
 
 +
| [[Nothing]]
 
   
 
   
|x1= <code>_soldierOne '''moveInDriver''' _tankOne </code> |= Example 1
+
|x1= <code>_soldierOne '''moveInDriver''' _tankOne </code>
____________________________________________________________________________________________
 
 
 
|[[moveInCargo]], [[moveInCommander]], [[moveInGunner]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]]  |= See also
 
  
 +
|seealso= [[moveInAny]], [[moveInCargo]], [[moveInCommander]], [[moveInGunner]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]], [[isTurnedOut]]
 
}}
 
}}
<h3 style="display:none">Notes</h3>
 
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
  
<dd class="notedate">Posted on August 4, 2006 - 14:44
+
<dd class="notedate">Posted on August 4, 2006 - 14:44</dd>
<dt class="note">'''[[User:Hardrock|hardrock]]'''<dd class="note">''Notes from before the conversion:''
+
<dt class="note">[[User:Hardrock|hardrock]]<dd class="note">''Notes from before the conversion:''
  
 
MP Note Functions MoveInDriver can only be called for local soldiers. They will be ignored for remote soldiers. (see [[Locality in Multiplayer]])
 
MP Note Functions MoveInDriver can only be called for local soldiers. They will be ignored for remote soldiers. (see [[Locality in Multiplayer]])
  
  
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''
+
<dt class="note">[[User:Ceeeb|Ceeeb]]</dt>
 
<dd class="note">
 
<dd class="note">
 
In '''OFP v1.96''', the moveIn commands will not trigger an associated getIn [[Operation_Flashpoint:_EventHandlers_List|event]]. To ensure the getIn event is fired, use the "getIn Driver" [[Operation_Flashpoint:_Actions_List|action]] command.
 
In '''OFP v1.96''', the moveIn commands will not trigger an associated getIn [[Operation_Flashpoint:_EventHandlers_List|event]]. To ensure the getIn event is fired, use the "getIn Driver" [[Operation_Flashpoint:_Actions_List|action]] command.
 
  
  
Line 47: Line 42:
 
</dl>
 
</dl>
  
<h3 style="display:none">Bottom Section</h3>
+
 
[[Category:Scripting Commands|MOVEINDRIVER]]
+
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|MOVEINDRIVER]]
 
[[Category:Scripting Commands OFP 1.96|MOVEINDRIVER]]
 
[[Category:Scripting Commands OFP 1.46|MOVEINDRIVER]]
 
[[Category:Scripting Commands OFP 1.46|MOVEINDRIVER]]
[[Category:Scripting Commands ArmA|MOVEINDRIVER]]
+
{{GameCategory|arma1|Scripting Commands}}
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
+
{{GameCategory|arma2|Scripting Commands}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
+
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
+
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 23:54, 16 February 2021

Hover & click on the images for descriptions

Description

Description:
Moves soldier into vehicle driver position (immediate, no animation).
The unit must be local to the PC executing command, the vehicle could be local or remote.

Syntax

Syntax:
unit moveInDriver vehicle
Parameters:
unit: Object
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
_soldierOne moveInDriver _tankOne

Additional Information

See also:
moveInAnymoveInCargomoveInCommandermoveInGunnermoveInTurretassignAsCargoassignAsCommanderassignAsDriverassignAsGunnerisTurnedOut
Groups:
Unit Control

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
Posted on August 4, 2006 - 14:44
hardrock
Notes from before the conversion: MP Note Functions MoveInDriver can only be called for local soldiers. They will be ignored for remote soldiers. (see Locality in Multiplayer)
Ceeeb
In OFP v1.96, the moveIn commands will not trigger an associated getIn event. To ensure the getIn event is fired, use the "getIn Driver" action command.