Xonotic
|
#include "teleporters.qh"
Go to the source code of this file.
Functions | |
entity | Simple_TeleportPlayer (entity teleporter, entity player) |
entity | Teleport_Find (vector mi, vector ma) |
void | teleport_findtarget (entity this) |
void | TeleportPlayer (entity teleporter, entity player, vector to, vector to_angles, vector to_velocity, vector telefragmin, vector telefragmax, float tflags) |
void | WarpZone_PostTeleportPlayer_Callback (entity pl) |
Definition at line 180 of file teleporters.qc.
References entity(), FOREACH_ENTITY_STRING, LOG_INFO, makevectors, max(), normalize(), NULL, RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), sprint(), targetname, TELEPORT_FLAGS_TELEPORTER, TeleportPlayer(), v_forward, vdist, vector(), and vlen().
Referenced by CheatCommand(), Teleport_Touch(), and WarpZone_Projectile_Touch().
Definition at line 285 of file teleporters.qc.
References g_teleporters, IL_EACH, NULL, and WarpZoneLib_BoxTouchesBrush().
Referenced by WarpZone_Projectile_Touch().
Definition at line 237 of file teleporters.qc.
References DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), find(), LOG_INFO, MOVETYPE_NONE, NULL, objerror(), solid, SOLID_TRIGGER, spawn(), target, targetname, Teleport_Touch(), and waypoint_spawnforteleporter().
Referenced by CheatCommand(), and Teleport_Touch().
void TeleportPlayer | ( | entity | teleporter, |
entity | player, | ||
vector | to, | ||
vector | to_angles, | ||
vector | to_velocity, | ||
vector | telefragmin, | ||
vector | telefragmax, | ||
float | tflags | ||
) |
Definition at line 67 of file teleporters.qc.
References _sound, ATTEN_NORM, autocvar_g_maxpushtime, BITXOR_ASSIGN, bot_aim_reset(), CH_TRIGGER, csqcplayer, EF_TELEPORT_BIT, entity(), FOREACH_WORD, g_cts, g_race, IFLAG_ANGLES, IFLAG_TELEPORTED, IFLAG_V_ANGLE, IS_BOT_CLIENT, IS_DEAD, IS_PLAYER, makevectors, PHYS_INPUT_BUTTON_CHAT, RandomSelection_chosen_string, RandomSelection_Init(), Reset_ArcBeam(), round_handler_IsActive, round_handler_IsRoundStarted, setorigin(), SND, TELEPORT_FLAG_FORCE_TDEATH, TELEPORT_FLAG_PARTICLES, TELEPORT_FLAG_SOUND, TELEPORT_FLAG_TDEATH, TELEPORT_NORMAL, time, to, UNSET_ONGROUND, UpdateCSQCProjectileAfterTeleport(), UpdateItemAfterTeleport(), v_forward, vector(), VF_ANGLES, VF_CL_VIEWANGLES, and VOL_BASE.
Referenced by Portal_TeleportPlayer(), and Simple_TeleportPlayer().
Definition at line 294 of file teleporters.qc.
References anticheat_fixangle(), BIT, IS_PLAYER, LOG_INFO, makevectors, NULL, Reset_ArcBeam(), UpdateCSQCProjectileAfterTeleport(), UpdateItemAfterTeleport(), and v_forward.
Referenced by WarpZone_TeleportPlayer().