API ReferenceGE Extensionsflowgraphnodesgameplaysites
Position in Zone
**File:** `flowgraph/nodes/gameplay/sites/posInZone.lua`
File: flowgraph/nodes/gameplay/sites/posInZone.lua
Description: Checks if a position is inside of a zone, by using Sites data.
Category: repeat_instant Tags: scenario, sites
Input Pins
| Name | Type | Description |
|---|---|---|
zone | table | Zone data. |
pos | vec3 | Position to be tested. |
Output Pins
| Name | Type | Description |
|---|---|---|
enter | flow | When pos was outside last frame and inside this frame. |
inside | flow | When pos is inside zone. |
exit | flow | When pos was inside last frame and outside this frame. |
outside | flow | When pos is outside of zone. |
Methods
C:init(mgr, ...)C:_executionStarted()C:work(args)
See Also
- File Sites - Related reference
- Location - Related reference
- Location by Name - Related reference
- FlowGraph Guide - Guide