Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
netname
string netname
Definition
powerups.qc:20
message
string message
Definition
powerups.qc:19
IL_PUSH
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
Definition
intrusivelist.qh:61
target_push_init
void target_push_init(entity this)
Definition
jumppads.qc:894
location.qh
g_locations
IntrusiveList g_locations
Definition
location.qh:4
spawnfunc
#define spawnfunc(id)
Definition
spawnfunc.qh:96
common
mapobjects
target
location.qc
Generated on
for Xonotic QuakeC by
1.14.0