Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
spawn.qh
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef SVQC
7
8void nade_spawn_boom(entity this);
10bool nade_spawn_DestroyDamage(entity this, entity attacker);
11#endif // SVQC
12
13const int PROJECTILE_NADE_SPAWN = 79;
14
17 ATTRIB(SpawnNade, m_name, string, _("Spawn grenade"));
18 ATTRIB(SpawnNade, m_icon, string, "nade_spawn");
19 ATTRIB(SpawnNade, netname, string, "spawn");
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Definition nades.qh:14
int impulse
Definition spawn.qh:20
vector m_color
Definition spawn.qh:16
string netname
Definition spawn.qh:19
string m_icon
Definition spawn.qh:18
string m_name
Definition spawn.qh:17
void nade_spawn_boom(entity this)
Definition spawn.qc:4
void nade_spawn_SetSpawnHealth(entity player)
Definition spawn.qc:22
bool autocvar_g_nades_spawn
Definition spawn.qh:6
const int PROJECTILE_NADE_SPAWN
Definition spawn.qh:13
bool nade_spawn_DestroyDamage(entity this, entity attacker)
Definition spawn.qc:28
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define ATTRIB(...)
Definition oo.qh:148
vector
Definition self.qh:92