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 GAMEQC
6SOUND(Stunned_Remove, "onslaught/ons_spark1");
7#endif
9 ATTRIB(Stunned, netname, string, "stunned");
10#if 0
11 // NOTE: status effect name and icon disabled as they are not displayed
12 // re-enable if status effects are given a visual element
13 ATTRIB(Stunned, m_name, string, _("Stunned"));
14 ATTRIB(Stunned, m_icon, string, "buff_disability");
15#endif
16 ATTRIB(Stunned, m_color, vector, '0.67 0.84 1');
17 ATTRIB(Stunned, m_hidden, bool, true);
19#ifdef GAMEQC
20 ATTRIB(Stunned, m_sound_rm, Sound, SND_Stunned_Remove);
21#endif
ATTRIB(StatusEffect, m_name, string)
string netname
Definition stunned.qh:9
Sound m_sound_rm
Definition stunned.qh:20
float m_lifetime
Definition stunned.qh:18
bool m_hidden
Definition stunned.qh:17
vector m_color
Definition stunned.qh:16
string m_name
Definition scores.qh:142
#define REGISTER_STATUSEFFECT(id, inst)
Definition all.qh:12
#define NEW(cname,...)
Definition oo.qh:120
#define CLASS(...)
Definition oo.qh:149
#define ENDCLASS(cname)
Definition oo.qh:286
#define ATTRIB(...)
Definition oo.qh:152
vector
Definition self.qh:96
#define SOUND(name, path)
Definition all.qh:30