Difference between revisions of "setAPURTD"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
 
{{Command|Comments=
 
{{Command|Comments=
____________________________________________________________________________________________
 
  
 
| TKOH |Game name=
 
| TKOH |Game name=
Line 9: Line 8:
  
 
|1.00|Game version=
 
|1.00|Game version=
____________________________________________________________________________________________
 
  
 
| Let the Auxiliary Power Unit (APU) reach a desired state over the given period of time.  
 
| Let the Auxiliary Power Unit (APU) reach a desired state over the given period of time.  
 
* 0: fully off  
 
* 0: fully off  
 
* 1: fully powered up |DESCRIPTION=
 
* 1: fully powered up |DESCRIPTION=
____________________________________________________________________________________________
 
  
 
| helicopterRTD '''setAPURTD''' [value, time]|SYNTAX=
 
| helicopterRTD '''setAPURTD''' [value, time]|SYNTAX=
Line 23: Line 20:
  
 
| [[Nothing]] |RETURNVALUE=
 
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
  
 
|x1= <code>[[vehicle]] [[player]] [[setAPURTD]] [1, 15];</code> |=
 
|x1= <code>[[vehicle]] [[player]] [[setAPURTD]] [1, 15];</code> |=

Revision as of 03:46, 17 January 2021

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.
  • 0: fully off
  • 1: fully powered up
Groups:
RTD

Syntax

Syntax:
helicopterRTD setAPURTD [value, time]
Parameters:
helicopterRTD: ObjectRTD - helicopter
value: Number - desired APU state
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

Notes

Bottom Section