DayZ 1.24
Loading...
Searching...
No Matches
HelicopterAuto Class Reference

Private Member Functions

void HelicopterScript ()
 
override void EOnPostSimulate (IEntity other, float timeSlice)
 
bool OnBeforeEngineStart ()
 
void OnEngineStart ()
 Gets called everytime the engine starts.
 
void OnEngineStop ()
 Gets called everytime the engine stops.
 

Detailed Description

Base script class for helicopters.

Definition at line 4 of file HelicopterScript.c.

Member Function Documentation

◆ EOnPostSimulate()

override void HelicopterAuto::EOnPostSimulate ( IEntity other,
float timeSlice )
inlineprivate

Definition at line 11 of file HelicopterScript.c.

12 {
13 }

◆ HelicopterScript()

void HelicopterAuto::HelicopterScript ( )
inlineprivate

Definition at line 6 of file HelicopterScript.c.

7 {
8 SetEventMask(EntityEvent.POSTSIMULATE);
9 }
EntityEvent
Entity events for event-mask, or throwing event from code.
Definition EnEntity.c:44

◆ OnBeforeEngineStart()

bool HelicopterAuto::OnBeforeEngineStart ( )
inlineprivate

Gets called everytime the game wants to start the engine. This callback is called on server only.

Returns
true if the engine can start, false otherwise.

Definition at line 21 of file HelicopterScript.c.

22 {
23 return true;
24 }

◆ OnEngineStart()

void HelicopterAuto::OnEngineStart ( )
inlineprivate

Gets called everytime the engine starts.

Definition at line 27 of file HelicopterScript.c.

28 {
29 }

◆ OnEngineStop()

void HelicopterAuto::OnEngineStop ( )
inlineprivate

Gets called everytime the engine stops.

Definition at line 32 of file HelicopterScript.c.

33 {
34 }

The documentation for this class was generated from the following file: