getVehicleTIPars: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Some wiki formatting)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
 
|version1= 2.00
|version= 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]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|User Name]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<!-- Non-automatic appropriate categories go here, e.g
[[Category:Scripting Commands {{arma3}}|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
-->

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