| CRM64Pro GDK v0.16.0 A free cross-platform game development kit built on top of SDL 3.0

Loading...
Searching...
No Matches
CRM64Pro::SceneObjectTrigger
Scene module » Scene Layer base » Scene LayerObject

Object trigger zone definition. More...

## Detailed Description

Object trigger zone definition.

Trigger zones are local to the owner object. Runtime checks are world-space and can target same/all/specific object layers.

## Public Member Functions
HandleDLL void | addIncludeType (const string &sType)
| Add one type identifier to the include filter.
HandleDLL void | addExcludeType (const string &sType)
| Add one type identifier to the exclude filter.

## Public Attributes
string | sName
| Trigger name unique within owner object.
bool | bEnabled
| True to evaluate this trigger.
SceneShapeData | ShapeLocal
| Trigger shape in owner-local coordinates.
Uint32 | iStayDelayMs
| Delay in ms before one-shot STAY event is emitted after ENTER.
Uint32 | iReenterCooldownMs
| Cooldown in ms after EXIT before ENTER can fire again for same pair.
Sint32 | iPriority
| Priority for deterministic trigger processing order (lower first).
Sint32 | iTargetLayer
| -1 same layer, 0 all object layers, >0 specific object layer ID.
bool | bExcludeOwner
| Exclude owner object from candidate checks.
ePhysicsCollisionMode | eCollisionMode
| Narrow-phase overlap mode.
vector< Uint32 > | vIncludeTypeHashes
| Optional include filter (32-bit type hashes). Empty = allow all.
vector< Uint32 > | vExcludeTypeHashes
| Optional exclude filter (32-bit type hashes).