-
Notifications
You must be signed in to change notification settings - Fork 5
squadmaker
GeckoN edited this page Jul 31, 2017
·
2 revisions
squadmaker is an entity which allows you to spawn any amount of a specific monster type. It can also be used to spawn other entities as well, though only partially supported. Detailed description of the entity can be found here.
You may optionally specify a function name (not including return type or arguments) using a keyvalue named function_name
.
When specified, the function will be called every time the squadmaker spawns a new monster.
The function has the following format:
void FunctionName(CBaseMonster@ pSquadmaker, CBaseEntity@ pMonster)
squadmaker can only use functions defined in map scripts.