Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Env firesensor
From HalfLife 2 Knowledge Base
Contents |
[edit]
env_firesensor
Source(core) Point Entity
[edit]
description
An entity that detects changes in heat nearby.
[edit]
properties
- Name targetname(target_source)
The name that other entities refer to this entity by. - Parent parentname(target_destination)
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent. - Radius fireradius(float) - default: 128
The radius around this entity in which to detect heat changes. - Heat level heatlevel(float) - default: 32
The target heat level to check for. Outputs are fired when the heat moves over this target level (increasing or decreasing). - Time at level heattime(float) - default: 0
The amount of time the heat level must spend over the target level before the 'OnHeatLevelStart' output is fired.
[edit]
spawn flags
- 1: Start On - default: ON
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired. - SetParent(string)
Changes the entity's parent in the movement hierarchy. - SetParentAttachment(string)
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. - ClearParent(void)
Removes this entity from the the movement hierarchy, leaving it free to move independently. - Enable(void)
Enable fire sensor. - Disable(void)
Disable fire sensor.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input. - OnHeatLevelStart(void)
Fires when the heat level has been sustained for the specified length of time. - OnHeatLevelEnd(void)
Fires when the heat level drops below the target level.
[edit]
related tutorials
Submit your tutorial for env_firesensor

