UFO: Alien Invasion
e_event_actordie.cpp File Reference
Include dependency graph for e_event_actordie.cpp:

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

◆ CL_ActorDie()

void CL_ActorDie ( const eventRegister_t self,
dbuffer msg 
)

◆ CL_ActorDieTime()

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_t::impactTime, eventTiming_t::nextTime, eventTiming_t::parsedDeath, eventTiming_t::parsedShot, and clientBattleScape_t::time.