Env firesensor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Robot: fixing template case.) |
||
Line 28: | Line 28: | ||
* {{i targetname}} | * {{i targetname}} | ||
* {{ | * {{I Parentname}} | ||
*'''Enable''' | *'''Enable''' |
Revision as of 19:31, 19 January 2009
Template:Wrongtitle Template:Base point
Entity Description
An entity that detects changes in heat nearby.
Keyvalues
- fireradius
- <float> The radius around this entity in which to detect heat changes.
- heatlevel
- <float> The target heat level to check for. Outputs are fired when the heat moves over this target level (increasing or decreasing).
- heattime
- <float> The amount of time the heat level must spend over the target level before the 'OnHeatLevelStart' output is fired.
Flags
- 1 : Start On
Inputs
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- Enable
- Enable fire sensor.
- Disable
- Disable fire sensor.
Outputs
- OnHeatLevelStart
- Fires when the heat level has been sustained for the specified length of time.
- OnHeatLevelEnd
- OnHeatLevelEnd Fires when the heat level drops below the target level.