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 (Some wiki formatting)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.00
|version1= 2.00


|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 12:
|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


|r1= [[Array]]
|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 11: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