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() spawn
spawnfunc(info_player_attacker)
Definition: sv_assault.qc:283
float effects
Definition: csprogsdefs.qc:111
string model
Definition: csprogsdefs.qc:108
float nextthink
Definition: csprogsdefs.qc:121
#define setthink(e, f)
float time
Definition: csprogsdefs.qc:16
const float EF_STARDUST
Definition: csprogsdefs.qc:308