8 this.
team = actor.team;
21 if (!player.teleportable)
25 if(!player.vehicle.teleportable)
99 WriteHeader(MSG_ENTITY, ENT_CLIENT_TRIGGER_TELEPORT);
106 trigger_common_write(
this,
true);
111 void trigger_teleport_link(
entity this)
123 this.
use = trigger_teleport_use;
133 objerror (
this,
"Teleporter with no target");
140 void target_teleporter_checktarget(
entity this)
149 bool is_teleporter_target =
false;
153 if(it.classname ==
"trigger_teleport" || it.classname ==
"target_teleporter")
155 is_teleporter_target = true;
160 if(is_teleporter_target)
163 spawnfunc_info_teleport_destination(
this);
176 this.
use = target_teleport_use;
190 NET_HANDLE(ENT_CLIENT_TRIGGER_TELEPORT,
bool isnew)
195 int mytm = ReadByte();
198 this.
team = mytm - 1;
202 this.
speed = ReadCoord();
204 trigger_common_read(
this,
true);
206 this.entremove = trigger_remove_generic;
#define REGISTER_NET_LINKED(id)
#define EXACTTRIGGER_INIT
void teleport_findtarget(entity this)
#define EXACTTRIGGER_TOUCH(e, t)
IntrusiveList g_teleporters
void SUB_UseTargets(entity this, entity actor, entity trigger)
#define NET_HANDLE(id, param)
void Teleport_Touch(entity this, entity toucher)
spawnfunc(info_player_attacker)
#define FOREACH_WORD(words, cond, body)
#define FOREACH_ENTITY_STRING(fld, match, body)
entity Simple_TeleportPlayer(entity teleporter, entity player)
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
void RemoveGrapplingHooks(entity pl)
void InitializeEntity(entity e, void(entity this) func, int order)
bool Teleport_Active(entity this, entity player)
const float SOLID_TRIGGER
const int SF_TRIGGER_UPDATE