QuestNoCodeAction is the UnityEvent bridge for calling quest runtime actions without custom code. It wraps the main quest API behind one scene-friendly component. File: Assets/Neoxider/Scripts/Quest/Bridge/QuestNoCodeAction.cs.
- Add
QuestNoCodeAction to a scene object.
- Choose the
Action Type.
- Assign a
QuestConfig when needed.
- Fill
Objective Index for objective completion flows.
- Call
Execute() from a button, trigger, condition, or another UnityEvent source.
| Action |
Description |
Accept |
Accepts a quest |
CompleteObjective |
Completes one quest objective |
Fail |
Fails a quest |
Restart |
Restarts a quest |
Reset |
Clears one quest state |
ResetAll |
Clears all quest states |
| Field |
Description |
Action Type |
Selected quest action |
Quest |
Target quest for all actions except ResetAll |
Objective Index |
Used by CompleteObjective |
Flow Config |
Optional flow restriction for quest acceptance |
On Success
On Failed(string)
On Result Message(string)
- Accept quest from a UI button
- Complete an objective from a trigger volume or pickup
- Reset one quest during debug or restart flows
- Drive quest progression through inspector-only gameplay logic