Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Instigator.c
Go to the documentation of this file.
1 
6 class Instigator: Managed
7 {
8  //use CreateInstigator instead
9  private void Instigator()
10  {
11 
12  }
13 
15  proto external void SetInstigator(IEntity entity);
16  proto external void SetInstigatorByPlayerID(int playerID);
17 
18  /* Get the instigator entity, player ID will be automatically converted to current entity. Can return null if the player is dead.
19  e.g.: Players can wait on the respawn screen, and this will return null, don't rely on IEntity, use PlayerID instead */
20  proto external IEntity GetInstigatorEntity();
21 
22  //Gets instigator player ID if the instigator is a player. Returns -1 otherwise
23  proto external int GetInstigatorPlayerID();
24  proto external InstigatorType GetInstigatorType();
25 
26  static proto ref Instigator CreateInstigator(IEntity instigator);
27 }
28 
InstigatorType
InstigatorType
Definition: InstigatorType.c:12
Instigator
Definition: Instigator.c:6