moveInGunner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added MP Note about local effects)
m (template:command argument fix)
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|MOVEINGUNNER]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|MOVEINGUNNER]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|MOVEINGUNNER]]
 
[[Category:Scripting Commands ArmA|MOVEINGUNNER]]
| ofp |= Game name
 
|1.00|= Game version
 
|arg= local |= Arguments in MP
 
|eff= global |= Effects in MP
____________________________________________________________________________________________


| Move soldier into vehicle gunner position (Immediate, no animation). |DESCRIPTION=
____________________________________________________________________________________________


<h2 style="color:#000066">'''''soldier'' moveInGunner ''vehicle'''''</h2>
| unitName '''moveInGunner''' vehicle |SYNTAX=


|p1= unitName: [[Object]] |PARAMETER1=
|p2= vehicle: [[Object]] |PARAMETER2=


'''Operand types:'''
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>soldierOne '''moveInGunner''' tankOne </code> |EXAMPLE1=
____________________________________________________________________________________________


'''soldier:''' [[Object]]
|[[moveInCargo]], [[moveInCommander]], [[moveInDriver]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]]  |SEEALSO=


'''vehicle:''' [[Object]]
}}


'''Type of returned value:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


[[Nothing]]
<dd class="notedate">Posted on August 4, 2006 - 14:45
<dt class="note">'''[[User:Hardrock|hardrock]]'''<dd class="note">''Notes from before the conversion:''


'''Description:'''
MP Note Functions MoveInGunner can only be called for local soldiers. They will be ignored for remote soldiers. (see [[Locality in Multiplayer]])


Move soldier into vehicle gunner position (Immediate, no animation).


<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''
<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 Gunner" [[Operation_Flashpoint:_Actions_List|action]] command.


'''Example:'''


soldierOne '''moveInGunner''' tankOne


<!-- Note Section END -->
</dl>


'''MP Note'''
<h3 style="display:none">Bottom Section</h3>


Functions MoveInXXX can only be called for local soldiers. They will be ignored for remote soldiers. (see [[Locality_in_Multiplayer|Locality in Multiplayer]])
[[Category:Scripting Commands|MOVEINGUNNER]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|MOVEINGUNNER]]
[[Category:Scripting Commands OFP 1.46|MOVEINGUNNER]]
[[Category:Scripting Commands ArmA|MOVEINGUNNER]]
[[Category:Command_Group:_Vehicle_Assignment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:44, 7 April 2019

Hover & click on the images for description

Description

Description:
Move soldier into vehicle gunner position (Immediate, no animation).
Groups:
Uncategorised

Syntax

Syntax:
unitName moveInGunner vehicle
Parameters:
unitName: Object
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
soldierOne moveInGunner tankOne

Additional Information

See also:
moveInCargomoveInCommandermoveInDrivermoveInTurretassignAsCargoassignAsCommanderassignAsDriverassignAsGunner

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

Posted on August 4, 2006 - 14:45
hardrock
Notes from before the conversion: MP Note Functions MoveInGunner 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 Gunner" action command.

Bottom Section