Xonotic
|
#include <common/monsters/monster.qh>
Go to the source code of this file.
Functions | |
entity | spawnmonster (entity e, string monster, Monster monster_id, entity spawnedby, entity own, vector orig, bool respwn, bool removeifinvalid, int moveflag) |
entity spawnmonster | ( | entity | e, |
string | monster, | ||
Monster | monster_id, | ||
entity | spawnedby, | ||
entity | own, | ||
vector | orig, | ||
bool | respwn, | ||
bool | removeifinvalid, | ||
int | moveflag | ||
) |
Definition at line 14 of file sv_spawn.qc.
References autocvar_g_monsters_owners, autocvar_g_monsters_teams, boolean, FOREACH, IS_PLAYER, MON_FLAG_HIDDEN, Monster_Spawn(), MONSTER_TYPE_PASSIVE, MONSTERFLAG_NORESPAWN, MONSTERFLAG_SPAWNED, NULL, RandomSelection_chosen_ent, RandomSelection_Init(), setorigin(), spawnmonster(), and teamplay.
Referenced by CommonCommand_editmob(), invasion_SpawnChosenMonster(), spawner_use(), and spawnmonster().