getVehicleTIPars: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (2.00 update)
m (Some wiki formatting)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3 |Game name=
|game1= arma3
|version1= 2.00


|version= 2.00 |Game version=
|gr1= Object Manipulation


|gr1= Object Manipulation |GROUP1=
|descr= Returns TI parameters of a vehicle.
____________________________________________________________________________________________


|descr= returns array [alive factor, movementfactor, metabolism factor] see [[setVehicleTIPars]] |Description=
|s1= [[getVehicleTIPars]] vehicle
____________________________________________________________________________________________


|s1= [[getVehicleTIPars]] vehicle |Syntax=
|p1= vehicle: [[Object]]


|p1= vehicle: [[Object]] |Parameter 1=
|r1= [[Array]] in format [aliveFactor, movementFactor, metabolismFactor]


|r1= [[Array]] |Return Value=
|x1= <sqf>getVehicleTIPars _veh;</sqf>
____________________________________________________________________________________________


|x1= <code>[[getVehicleTIPars]] _veh</code> |Example 1=
|seealso= [[setVehicleTIPars]]
____________________________________________________________________________________________
 
|seealso= [[setVehicleTIPars]] |See Also=
}}
}}
<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>
<h3 style="display:none">Bottom Section</h3>
<!-- Non-automatic appropriate categories go here, e.g
[[Category:Scripting Commands {{arma3}}|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
-->

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