Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
stunned.qh
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef SVQC
6//void Shock_ApplyDamage(entity e);
7#endif
8#ifdef GAMEQC
9SOUND(Stunned_Remove, "onslaught/ons_spark1");
10#endif
12 ATTRIB(Stunned, netname, string, "stunned");
13#if 0
14 // NOTE: status effect name and icon disabled as they are not displayed
15 // re-enable if status effects are given a visual element
16 ATTRIB(Stunned, m_name, string, _("Stunned"));
17 ATTRIB(Stunned, m_icon, string, "buff_disability");
18#endif
19 ATTRIB(Stunned, m_color, vector, '0.67 0.84 1');
20 ATTRIB(Stunned, m_hidden, bool, true);
22#ifdef GAMEQC
23 ATTRIB(Stunned, m_sound_rm, Sound, SND_Stunned_Remove);
24#endif
ATTRIB(StatusEffect, m_name, string)
string netname
Definition stunned.qh:12
Sound m_sound_rm
Definition stunned.qh:23
float m_lifetime
Definition stunned.qh:21
bool m_hidden
Definition stunned.qh:20
vector m_color
Definition stunned.qh:19
string m_name
Definition scores.qh:142
#define REGISTER_STATUSEFFECT(id, inst)
Definition all.qh:12
#define NEW(cname,...)
Definition oo.qh:117
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define ATTRIB(...)
Definition oo.qh:148
vector
Definition self.qh:92
#define SOUND(name, path)
Definition all.qh:30