Trigger proximity
Jump to navigation
Jump to search
Entity Description
Measures the distance of the player within the trigger volume from a given point (and within a given radius). The NearestPlayerDistance output will be 0 when the player is at the center point, and 1 when the player is at the radius.
Keyvalues
- Point to Measure From ([todo internal name (i)]) <targetname>
- The name of a target entity who's origin is the point to measure the player's distance from.
- Radius to measure within ([todo internal name (i)]) <string>
- The radius to which the distance should be mapped. If the player is outside the radius he will be ignored.
|
Flags
|
Inputs
|
Outputs
- NearestEntityDistance <integer >
- Fired continuously when entities are touching the trigger volume. The output parameter is the distance from the
|