|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "teleport.qh"Go to the source code of this file.
Functions | |
| spawnfunc (target_teleporter) | |
| spawnfunc (trigger_teleport) | |
| void | target_teleport_use (entity this, entity actor, entity trigger) |
| void | target_teleporter_checktarget (entity this) |
| bool | Teleport_Active (entity this, entity player) |
| void | Teleport_Touch (entity this, entity toucher) |
| void | trigger_teleport_link (entity this) |
| float | trigger_teleport_send (entity this, entity to, float sf) |
| void | trigger_teleport_use (entity this, entity actor, entity trigger) |
| spawnfunc | ( | target_teleporter | ) |
Definition at line 188 of file teleport.qc.
References InitializeEntity(), INITPRIO_FINDTARGET, and target_teleporter_checktarget().
| spawnfunc | ( | trigger_teleport | ) |
Definition at line 120 of file teleport.qc.
References active, ACTIVE_ACTIVE, angles, EXACTTRIGGER_INIT, FOREACH_WORD, g_teleporters, IL_PUSH(), InitializeEntity(), INITPRIO_FINDTARGET, noise, objerror, precache_sound(), target, teleport_findtarget(), trigger_teleport_use(), and use.
Definition at line 76 of file teleport.qc.
References entity(), IS_PLAYER, RemoveGrapplingHooks(), Simple_TeleportPlayer(), string_null, SUB_UseTargets(), target, and Teleport_Active().
Referenced by target_teleporter_checktarget().
Definition at line 143 of file teleport.qc.
References active, ACTIVE_ACTIVE, angles, enemy, entity(), FOREACH_ENTITY_STRING, FOREACH_WORD, mangle, noise, precache_sound(), target, target_teleport_use(), targetname, teleport_findtarget(), and use.
Referenced by spawnfunc().
Definition at line 15 of file teleport.qc.
References active, ACTIVE_ACTIVE, classname, DIFF_TEAM, entity(), INVERT_TEAMS, IS_DEAD, IS_PLAYER, IS_TURRET, spawnflags, team, and TELEPORT_OBSERVERS_ONLY.
Referenced by target_teleport_use(), and Teleport_Touch().
Definition at line 49 of file teleport.qc.
References entity(), EXACTTRIGGER_TOUCH, IS_PLAYER, RemoveGrapplingHooks(), Simple_TeleportPlayer(), string_null, SUB_UseTargets(), target, Teleport_Active(), and toucher.
Referenced by teleport_findtarget().
Definition at line 115 of file teleport.qc.
References entity().
Referenced by teleport_findtarget().
Definition at line 101 of file teleport.qc.
References active, entity(), MSG_ENTITY, spawnflags, speed, team, trigger_common_write(), WriteByte(), WriteCoord(), and WriteHeader.
Definition at line 5 of file teleport.qc.
References entity(), SendFlags, SF_TRIGGER_UPDATE, team, and teamplay.
Referenced by spawnfunc().