isObjectRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Updated game version)
m (Text replacement - " \|= Parameter " to " ")
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma 3 |= Game name
|game1= arma3
|version1= 1.34


|1.33|= Game version
|gr1= RTD
____________________________________________________________________________________________


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


| [[isObjectRTD]] helicopter |= Syntax
|s1= [[isObjectRTD]] helicopter


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


| [[Boolean]] |= RETURNVALUE
|r1= [[Boolean]]


|x1= <sqf>_heliRTD = isObjectRTD vehicle player;</sqf>


|x1= <code>_heliRTD = [[isObjectRTD]] [[vehicle]] [[player]];</code>|= EXAMPLE1
|seealso= [[weightRTD]] [[difficultyEnabledRTD]]
 
____________________________________________________________________________________________
 
|  |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: RTD|{{uc:{{PAGENAME}}}}]]

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