Xonotic
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerator
i
m
o
p
r
s
t
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
sv_running_guns.qc
Go to the documentation of this file.
1
#include "
sv_running_guns.qh
"
2
3
bool
autocvar_g_running_guns
;
4
REGISTER_MUTATOR
(running_guns,
autocvar_g_running_guns
);
5
6
MUTATOR_HOOKFUNCTION
(running_guns,
SetDefaultAlpha
)
7
{
8
default_player_alpha
= -1;
9
default_weapon_alpha
= +1;
10
return
true
;
11
}
MUTATOR_HOOKFUNCTION
MUTATOR_HOOKFUNCTION(running_guns, SetDefaultAlpha)
Definition:
sv_running_guns.qc:6
autocvar_g_running_guns
bool autocvar_g_running_guns
Definition:
sv_running_guns.qc:3
REGISTER_MUTATOR
REGISTER_MUTATOR(running_guns, autocvar_g_running_guns)
SetDefaultAlpha
void SetDefaultAlpha()
Definition:
world.qc:104
default_player_alpha
float default_player_alpha
Definition:
world.qh:66
default_weapon_alpha
float default_weapon_alpha
Definition:
world.qh:67
sv_running_guns.qh
common
mutators
mutator
running_guns
sv_running_guns.qc
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13