Xonotic
location.qc
Go to the documentation of this file.
1 #include "location.qh"
2 #ifdef SVQC
3 void target_push_init(entity this);
4 
5 spawnfunc(target_location)
6 {
7  // location name in netname
8  // eventually support: count, teamgame selectors, line of sight?
9 
10  target_push_init(this);
11 
12  IL_PUSH(g_locations, this);
13 }
14 
15 spawnfunc(info_location)
16 {
17  this.message = this.netname;
18  spawnfunc_target_location(this);
19 }
20 #endif
entity() spawn
string netname
Definition: powerups.qc:20
spawnfunc(info_player_attacker)
Definition: sv_assault.qc:283
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
string message
Definition: powerups.qc:19