getVehicleTIPars: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Some wiki formatting)
 
Line 12: Line 12:
|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


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


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


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

Latest revision as of 12:57, 4 May 2022

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 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