asw_director_control

From Source Entities
Jump to navigation Jump to search

Code classes:

asw_director_control is a point entity present in Asw.pngAlien Swarm. It controls dynamic spawning for many NPCs.

Keyvalues[edit | edit source]

Wandering Aliens (wanderers) <boolean>
Whether to spawn random drones around the players.
Hordes (hordes) <boolean>
Whether to spawn large groups of drones periodically.
Control Spawners (controlspawners) <boolean>
If enabled, asw_spawners will only work when the director is in "an active spawning state."[Clarify]

Inputs[edit | edit source]

EnableHordes
Sets Hordes to Yes.
DisableHordes
Sets Hordes to No.
EnableWanderers
Sets Wandering Aliens to Yes.
DisableWanderers
Sets Wandering Aliens to No.
StartFinale
Enables wanderers, hordes and sends director into "crazy spawning mode".

Outputs[edit | edit source]

OnEscapeRoomStart
Fires when marine enters the escape room with all objectives (except for escape) complete.
Clarify: When one marine enters, or all marines?
To do: The FGD notes that maps which rely on this output need to include their .layout file when downloaded. What is a .layout file and how do you make one? (Either way, you should be able to just use OnObjectiveComplete on the asw_objective_escape...)