Difference between revisions of "moveInDriver"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
 
(21 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| ofp |= Game name
+
| ofp |Game name=
  
|1.00|= Game version
+
|1.00|Game version=
  
|arg= local |= Arguments in MP
+
|arg= local |Multiplayer Arguments=
  
|eff= global |= Effects in MP
+
|eff= global |Multiplayer Effects=
 +
 
 +
|gr1= Unit Control |GROUP1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Move soldier into vehicle driver position (Immediate, no animation). |= Description
+
| Moves soldier into vehicle driver position (immediate, no animation).
 +
{{Important| The unit must be [[local]] to the PC executing command, the vehicle could be [[local]] or remote.}} |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| unitName '''moveInDriver''' vehicle |= Syntax
+
| unit '''moveInDriver''' vehicle |SYNTAX=
  
|p1= unitName: [[Object]] |= Parameter 1
+
|p1= unit: [[Object]] |PARAMETER1=
|p2= vehicle: [[Object]] |= Parameter 2
+
|p2= vehicle: [[Object]] |PARAMETER2=
  
| [[Nothing]] |= Return value
+
| [[Nothing]] |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <code>_soldierOne '''moveInDriver''' _tankOne </code> |= Example 1
+
|x1= <code>_soldierOne '''moveInDriver''' _tankOne </code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|[[moveInCargo]], [[moveInCommander]], [[moveInGunner]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]]  |= See also
+
| [[moveInAny]], [[moveInCargo]], [[moveInCommander]], [[moveInGunner]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]], [[isTurnedOut]]  |SEEALSO=
  
 
}}
 
}}
Line 32: Line 35:
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
  
<dd class="notedate">Posted on August 4, 2006 - 14:44</dd>
+
<dd class="notedate">Posted on August 4, 2006 - 14:44
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><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]])
</dd>
 
  
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''</dt>
+
 
 +
<dt class="note">[[User:Ceeeb|Ceeeb]]
 
<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.
</dd>
+
 
  
  
Line 49: Line 52:
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|MOVEINDRIVER]]
 
[[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]]
+
[[Category:Scripting Commands Armed Assault|MOVEINDRIVER]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
+
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13:28, 25 September 2020

Introduced with Operation Flashpoint version 1.001.00Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network
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

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

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.

Bottom Section