spawning

Vars | |
death_callbacks_by_mob | Assoc list mob = removalcb |
---|---|
mobcap | Maximum amount of spawnable mobs |
spawnerdata | Assoc list of spawners and their assosicated data |
totalspawned | total number of spawned mobs |
Procs | |
decrement_spawnedmobs | Removes a mob from a spawners mobs spawned list Arguments: |
registerspawner | Registers an atom with the subsystem Arguments: |
remove_mob | Essentially a wrapper for accessing a dying/delting mobs callback to remove it |
reset_ai | Admin proc to unregister and reregister AI node spawners for example for varedits on WO |
unregisterspawner | Unregisters an atom with the subsystem Arguments: |
Var Details
death_callbacks_by_mob

Assoc list mob = removalcb
mobcap

Maximum amount of spawnable mobs
spawnerdata

Assoc list of spawners and their assosicated data
totalspawned

total number of spawned mobs
Proc Details
decrement_spawnedmobs
Removes a mob from a spawners mobs spawned list Arguments:
- remover: The mob that died/whatever to decrement the amount
- spawner: atom that spawned the mob that died
registerspawner
Registers an atom with the subsystem Arguments:
- spawner: atom to be registered
- delaytime: time in byond ticks between respawns dont make this lower than SS wait or perish
- spawntypes: can be both a list as well as a specific type for the spawner to spawn
- postspawn: Callback to be invoked on the spawned squad, use for equipping and such
remove_mob
Essentially a wrapper for accessing a dying/delting mobs callback to remove it
reset_ai
Admin proc to unregister and reregister AI node spawners for example for varedits on WO
unregisterspawner
Unregisters an atom with the subsystem Arguments:
- spawner: atom to be unregistered