setAPURTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>vehicle [[player]] [[setAPURTD]] [1, 15];</code>
|x1= <code>vehicle player [[setAPURTD]] [1, 15];</code>


|seealso=
|seealso=
}}
}}

Revision as of 11:14, 12 May 2022

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 or on the Forums.
Only post proven facts here! Add Note