DAI 3.0 · ENTITY EVENTS
Build a Native Entity Lifecycle
Turn a native DAI mob into a real gameplay actor with damage/death/interact events, faction metadata and rider seats.
1. Create the native entity
Use Creator → DAI Content → Native Entity Starter. Set dimensions and attributes as normal.
2. Wire gameplay events
"gameplay": {
"faction": "demo:cyan",
"dialogue": "demo:intro",
"loot": "demo:enemy_drop",
"events": {
"hurt": "action:demo:hurt",
"damage_dealt": "action:demo:attack_hit",
"death": "action:demo:derez",
"interact": "action:demo:talk"
}
}3. Add a rider seat
"riding": {
"seats": ["0 0.8 -0.2"],
"rider_sit": true,
"rider_interact": true
}Multiple seat offsets are accepted as additional strings.
Use the Creator: these schemas can be pasted into the type-specific JSON fields in DAI Content / Runtime Definitions. Unknown fields are preserved on import/export.