setAPURTD: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
 
Line 10: Line 10:
|s1= helicopterRTD [[setAPURTD]] [value, time]
|s1= helicopterRTD [[setAPURTD]] [value, time]


|p1= helicopterRTD: [[ObjectRTD]] - helicopter
|p1= helicopterRTD: [[Object|ObjectRTD]] - helicopter


|p2= value: [[Number]] - desired APU state. 0 being completely off, 1 being fully powered up
|p2= value: [[Number]] - desired APU state. 0 being completely off, 1 being fully powered up

Latest revision as of 03:32, 3 January 2026

Hover & click on the images for description

Description

Description:
Let the Auxiliary Power Unit (APU) reach a desired state over the given period of time.
Groups:
RTD

Syntax

Syntax:
helicopterRTD setAPURTD [value, time]
Parameters:
helicopterRTD: ObjectRTD - helicopter
value: Number - desired APU state. 0 being completely off, 1 being fully powered up
time: Number - time to reach (seconds)
Return Value:
Nothing

Examples

Example 1:
vehicle player setAPURTD [1, 15];

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note