func_safe_zone
Jump to navigation
Jump to search

func_safe_zone is a trigger entity available in
No More Room in Hell.
Entity Description
The func_safe_zone is a brush entity that designates the area of a Safe Zone in the Survival Mode. The Compass will direct Survivors to the centre of this brush with a letter which is designated to the zone. It's recommended to keep this brush to a sensible size and shape, and use func_safe_zone_extension to add additional spaces to be counted towards the zone it's tied to.
KeyValues
- Name (targetname) <string>
- The name that other entities refer to this entity by.
- Entity Scripts (vscripts) <string>
- Name(s) of script files that are executed after all entities have spawned.
- Script think function (thinkfunction) <string>
- Name of a function in this entity's script scope which will be called automatically.
- Parent (parentname) <string>
- The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
- Origin (X Y Z) (origin) <origin>
- The position of this entity's center in the world. Rotating entities typically rotate around their origin.
- Start Disabled (StartDisabled) <boolean>
- Should we start off Disabled?
- Global Entity Name (globalname) <string>
- Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
- Filter Name (filtername) <string>
- Filter to use to see if activator triggers me. See filter_activator_name for more explanation.
- Zone Index Override (index_override) <choices>
- Forces this safe zone to use chosen letter designation, vs. default entity spawn order. Recommended for Hammer++ users, as the editor tends to shift entities on save (at the time of writing).
Flags
- Clients : [1]
- Clients.
- Disallow Bots : [4096]
- Prevents Survivor Bots from triggering.
You probably shouldn't use the other Flags on this entity, many are inherited from the trigger_ base.
Inputs
- InputReactivate
- Reactivate the safe zone.
- InputDeactivate
- Deactivate the safe zone.
- PauseDrain
- Makes safe zone inative, it won't lose health.
- ResumeDrain
- Makes safe zone active, it will lose health.
Outputs
- OnReactivate
- Fired when the safe zone is reactivated.
- OnDeactivate
- Fired when the safe zone is deactivated.
- OnEndTouch
- Fired when a valid entity stops touching this trigger.
- OnEndTouchAll
- Fired when all valid entities stop touching this trigger.
- OnStartTouch
- Fired when a valid entity starts touching this trigger.
- OnStartTouchAll
- Fired when a valid entity starts touching this trigger, and no other entities are touching it. If there are any other entities touching the trigger when a new one begins to touch, only OnStartTouch will fire.
- OnUser1 to OnUser4
- Fired in response to the FireUser inputs.