UFO: Alien Invasion
Loading...
Searching...
No Matches
e_event_actordie.h File Reference
#include "../../e_main.h"
Include dependency graph for e_event_actordie.h:
This graph shows which files directly or indirectly include this file:

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.
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).

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

Referenced by CL_ActorDieTime().