Advanced Features
This section covers powerful features such as actor queuing, state saving, multiplayer replication, and debugging tools.
Queuing System
The plugin supports multiple actors waiting for a free entry point.
How it works
- If all entry points are occupied, incoming actors are added to the queue.
- When a spot frees up, the next actor is triggered.
Settings
- Enable Queue β turns the queue system on.
- Queue Wait Time β how long an actor can wait before being auto-removed.
- Queue Exit Delay β delay between previous actor exiting and next one starting.
- Wait For Exit After Animation β ensures the next actor only enters after the previous actor fully leaves the trigger zone.
Events
OnQueueEnter
β actor was added to the queue.OnQueueExit
β actor left the queue (either to animate or by timeout).
You can also receive these via ATZCharacterInterface
.
π Queuing only works when Use Entry Points is enabled.
Saving and Loading State
The plugin includes built-in support for persistent trigger states.
Use Case
- Prevent an actor from re-triggering a zone across save games.
- Preserve the queue and entry assignments.
How to use
- Create a Blueprint or C++ SaveGame class using
ATZSaveGame
. - Before saving:
blueprint Call β Zone Component β Save State (SaveGameObject)
- After loading:
blueprint Call β Zone Component β Load State (SaveGameObject)
Each zone stores its state under its full path name.
Multiplayer & Replication
The AnimTriggerZone
component is fully network-replicated.
- Zone state, animation triggering, and interaction events are synchronized.
- Server-side authority is required to trigger most actions.
π Ensure the owning actor is also set to replicates and is placed properly in the level.
Debug Visualization
You can enable zone visualization during play for easier testing.
- Enable Debug Draw β turns on runtime drawing.
- Debug Color β the color of the zone shape and points.
What is visualized
- The zone shape (box/sphere/capsule)
- Entry points (yellow spheres with red arrows)
- Interaction points (blue spheres)
- The currently selected entry (cyan marker)
β‘οΈ Youβve completed the full guide. Youβre ready to create rich animation-based interactions using Blueprints only!