moveInTurret: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands ArmA|MOVEINTURRET]]
[[Category:Scripting Commands ArmA|MOVEINTURRET]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''soldier'' moveInTurret ''[vehicle, turret path]'''''</h2>
| arma |= Game name


|2.92|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Moves the soldier into the vehicle's turret. (Immediately, without animation). |= Description
____________________________________________________________________________________________


'''soldier:''' [[Object]]
| soldier '''moveInTurret''' [vehicle, turret path] |= Syntax


'''[vehicle, turret path]:''' [[Array]]
|p1= soldier: [[Object]] |= Parameter 1


'''Type of returned value:'''
|p2= [vehicle, turret path]: [[Array]] |= Parameter 2


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>soldierOne moveInTurret [tank, [0, 0]]
turretPath [0,0] moves the soldier in the first turret of the first turret of a vehicle, [0, 2, 1] would move him to the second turret of the third turret of the first turret, [1] moves him to the second turret of a vehicle. Turret order has to be defined in the class [[CfgVehicles]] of the [[Config]].</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.92 required.
}}


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


Moves the soldier into the vehicle's turret. (Immediately, without animation).
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
 
soldierOne '''moveInTurret''' [tank, [0, 0]]
 
 
'''turretPath''' [0,0] moves the soldier in the first turret of the first turret of a vehicle, [0, 2, 1] would move him to the second turret of the third turret of the first turret, [1] moves him to the second turret of a vehicle.
 
Turret order has to be defined in the class [[CfgVehicles]] of the [[Config]].

Revision as of 00:35, 2 August 2006


-wrong parameter ("Arma") defined!-2.92
Hover & click on the images for description

Description

Description:
Moves the soldier into the vehicle's turret. (Immediately, without animation).
Groups:
Uncategorised

Syntax

Syntax:
soldier moveInTurret [vehicle, turret path]
Parameters:
soldier: Object
[vehicle, turret path]: Array
Return Value:
Nothing

Examples

Example 1:
soldierOne moveInTurret [tank, [0, 0]] 
turretPath [0,0] moves the soldier in the first turret of the first turret of a vehicle, [0, 2, 1] would move him to the second turret of the third turret of the first turret, [1] moves him to the second turret of a vehicle. Turret order has to be defined in the class [[CfgVehicles]] of the [[Config]].

Additional Information

See also:
See also needed

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

Bottom Section