getVehicleTIPars: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!-- Non-automatic appropriate categories go here, e.g [[Category:Scripting Commands {{arma3}}|{{uc:{{PAGENAME}}}}]] {{uc:{{PAGENAME}}}} -->" to "")
m (formatting)
Line 7: Line 7:
|gr1= Object Manipulation
|gr1= Object Manipulation


|descr= returns array [alive factor, movementfactor, metabolism factor] see [[setVehicleTIPars]]
|descr= Returns TI parameters of a vehicle.


|s1= [[getVehicleTIPars]] vehicle
|s1= [[getVehicleTIPars]] vehicle
Line 13: Line 13:
|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


|r1= [[Array]]
|r1= [[Array]] - Array in format [aliveFactor, movementFactor, metabolismFactor]


|x1= <code>[[getVehicleTIPars]] _veh</code>
|x1= <code>[[getVehicleTIPars]] _veh;</code>


|seealso= [[setVehicleTIPars]]
|seealso= [[setVehicleTIPars]]
}}
}}

Revision as of 10:02, 16 April 2021

Hover & click on the images for description

Description

Description:
Returns TI parameters of a vehicle.
Groups:
Object Manipulation

Syntax

Syntax:
getVehicleTIPars vehicle
Parameters:
vehicle: Object
Return Value:
Array - Array in format [aliveFactor, movementFactor, metabolismFactor]

Examples

Example 1:
getVehicleTIPars _veh;

Additional Information

See also:
setVehicleTIPars

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