Xonotic
|
#include "sv_pinata.qh"
Go to the source code of this file.
Functions | |
MUTATOR_HOOKFUNCTION (pinata, PlayerDies) | |
MUTATOR_HOOKFUNCTION (pinata, BuildMutatorsString) | |
MUTATOR_HOOKFUNCTION (pinata, BuildMutatorsPrettyString) | |
REGISTER_MUTATOR (pinata, expr_evaluate(autocvar_g_pinata) &&!MUTATOR_IS_ENABLED(mutator_instagib) &&!MUTATOR_IS_ENABLED(ok)) | |
Variables | |
string | autocvar_g_pinata |
bool | autocvar_g_pinata_offhand |
MUTATOR_HOOKFUNCTION | ( | pinata | , |
PlayerDies | |||
) |
Definition at line 7 of file sv_pinata.qc.
References autocvar_g_pinata_offhand, CENTER_OR_VIEWOFS, entity(), FOREACH, M_ARGV, MAX_WEAPONSLOTS, randomvec(), W_IsWeaponThrowable(), W_ThrowNewWeapon(), weaponentities, and WepSet_FromWeapon.
MUTATOR_HOOKFUNCTION | ( | pinata | , |
BuildMutatorsString | |||
) |
Definition at line 32 of file sv_pinata.qc.
References M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | pinata | , |
BuildMutatorsPrettyString | |||
) |
Definition at line 37 of file sv_pinata.qc.
References M_ARGV, and strcat().
REGISTER_MUTATOR | ( | pinata | , |
expr_evaluate(autocvar_g_pinata) &&!MUTATOR_IS_ENABLED(mutator_instagib) &&!MUTATOR_IS_ENABLED(ok) | |||
) |
string autocvar_g_pinata |
Definition at line 3 of file sv_pinata.qc.
bool autocvar_g_pinata_offhand |
Definition at line 4 of file sv_pinata.qc.
Referenced by MUTATOR_HOOKFUNCTION().