Swarmer Beacon

Beacon which creates sentient player swarmers.
The beacon which creates sentient player swarmers during the swarmer event. Spawns in maint on xeno locations, and can create a player swarmer once every 30 seconds. The beacon cannot be damaged by swarmers, and must be destroyed to prevent the spawning of further player-controlled swarmers. Holds a swarmer within itself during the 30 seconds before releasing it and allowing for another swarmer to be spawned in.
Vars | |
processing_swarmer | Whether or not a swarmer is currently being created by this beacon |
---|---|
swarmerlist | Reference to all the swarmers currently alive this beacon has created |
Procs | |
que_swarmer | Interaction when a ghost interacts with a swarmer beacon |
release_swarmer | Releases a swarmer from the beacon and tells it what to do |
remove_swarmer | Removes a swarmer from the beacon's list. |
Var Details
processing_swarmer

Whether or not a swarmer is currently being created by this beacon
swarmerlist

Reference to all the swarmers currently alive this beacon has created
Proc Details
que_swarmer
Interaction when a ghost interacts with a swarmer beacon
Called when a ghost interacts with a swarmer beacon, allowing them to become a swarmer Arguments:
- user - A reference to the ghost interacting with the beacon
release_swarmer
Releases a swarmer from the beacon and tells it what to do
Occcurs 5 + (alive swarmers made from beacon * 2) seconds after a ghost becomes a swarmer. The beacon releases it, tells it what to do, and opens itself up to spawn in a new swarmer. Arguments:
- swarmer - The swarmer being released and told what to do
remove_swarmer
Removes a swarmer from the beacon's list.
Removes the swarmer from our list. Called specifically when a swarmer is about to be destroyed, so we don't have any null references. Arguments:
- mob/swarmer - The swarmer to be removed from the list.
- force - Parameter sent by the COSMIG_PARENT_QDELETING signal. Does nothing in this proc.