Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
helicopterscript.c
Go to the documentation of this file.
1 
4 class HelicopterScript extends HelicopterAuto
5 {
6  void HelicopterScript()
7  {
8  SetEventMask(EntityEvent.POSTSIMULATE);
9  }
10 
11  override void EOnPostSimulate(IEntity other, float timeSlice)
12  {
13  }
14 
21  bool OnBeforeEngineStart()
22  {
23  return true;
24  }
25 
27  void OnEngineStart()
28  {
29  }
30 
32  void OnEngineStop()
33  {
34  }
35 };
OnEngineStart
override void OnEngineStart()
Gets called everytime the engine starts.
Definition: carscript.c:1612
HelicopterAuto
Definition: helicopterscript.c:4
OnBeforeEngineStart
override bool OnBeforeEngineStart()
Definition: carscript.c:1547
IEntity
Definition: enentity.c:164
EOnPostSimulate
override void EOnPostSimulate(IEntity other, float timeSlice)
Definition: land_underground_waterreservoir.c:166
EntityEvent
EntityEvent
Entity events for event-mask, or throwing event from code.
Definition: enentity.c:44
OnEngineStop
override void OnEngineStop()
Gets called everytime the engine stops.
Definition: carscript.c:1628