UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
e_event_actordie.h File Reference
#include "../../e_main.h"

Go to the source code of this file.

Functions

int CL_ActorDieTime (const struct eventRegister_s *self, dbuffer *msg, eventTiming_t *eventTiming)
 Some events will be delayed if they are executed in the context of a dying actor. That's why we set the parsedDeath value to true here. More...
 
void CL_ActorDie (const eventRegister_t *self, dbuffer *msg)
 Kills an actor (all that is needed is the local entity state set to STATE_DEAD). More...
 

Function Documentation

void CL_ActorDie ( const eventRegister_t self,
dbuffer msg 
)
int CL_ActorDieTime ( const struct eventRegister_s self,
dbuffer msg,
eventTiming_t eventTiming 
)

Some events will be delayed if they are executed in the context of a dying actor. That's why we set the parsedDeath value to true here.

Definition at line 37 of file e_event_actordie.cpp.

References cl, eventTiming_s::impactTime, eventTiming_s::nextTime, eventTiming_s::parsedDeath, eventTiming_s::parsedShot, and clientBattleScape_s::time.