isObjectRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=")
m (Text replacement - " \|= Parameter " to " ")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.34


|gr1= RTD
|gr1= RTD


|1.34
|descr=Returns true if RTD model is loaded.{{Feature|afm}}


|Returns true if RTD model is loaded.{{Feature|afm}}
|s1= [[isObjectRTD]] helicopter


| [[isObjectRTD]] helicopter
|p1= helicopter: [[Object]]


|p1= helicopter: [[Object]] |= Parameter
|r1= [[Boolean]]


\|r1= [[Boolean]]
|x1= <sqf>_heliRTD = isObjectRTD vehicle player;</sqf>


\|x1= <code>_heliRTD = [[isObjectRTD]] [[vehicle]] [[player]];</code>
|seealso= [[weightRTD]] [[difficultyEnabledRTD]]
 
|seealso= [[weightRTD]], [[difficultyEnabledRTD]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 17:03, 15 August 2022

Hover & click on the images for description

Description

Description:
Returns true if RTD model is loaded.
Advanced Helicopter Flight Model
For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.
Groups:
RTD

Syntax

Syntax:
isObjectRTD helicopter
Parameters:
helicopter: Object
Return Value:
Boolean

Examples

Example 1:
_heliRTD = isObjectRTD vehicle player;

Additional Information

See also:
weightRTD difficultyEnabledRTD

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