Xonotic
stardust.qc
Go to the documentation of this file.
1
#include "
stardust.qh
"
2
#ifdef SVQC
3
void
func_stardust_think(
entity
this
)
4
{
5
this.
nextthink
=
time
+ 0.25;
6
CSQCMODEL_AUTOUPDATE(
this
);
7
}
8
spawnfunc
(func_stardust)
9
{
10
if
(this.
model
!=
""
) { precache_model(this.
model
); _setmodel(
this
, this.
model
); }
11
12
this.
effects
=
EF_STARDUST
;
13
14
CSQCMODEL_AUTOINIT(
this
);
15
16
setthink
(
this
, func_stardust_think);
17
this.
nextthink
=
time
+ 0.25;
18
}
19
#endif
entity
entity() spawn
spawnfunc
spawnfunc(info_player_attacker)
Definition:
sv_assault.qc:283
stardust.qh
effects
float effects
Definition:
csprogsdefs.qc:111
model
string model
Definition:
csprogsdefs.qc:108
nextthink
float nextthink
Definition:
csprogsdefs.qc:121
setthink
#define setthink(e, f)
time
float time
Definition:
csprogsdefs.qc:16
EF_STARDUST
const float EF_STARDUST
Definition:
csprogsdefs.qc:308
common
mapobjects
func
stardust.qc
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13