All Tutorials
Advanced

Create a Timed Challenge (Other quest type)

Build the third quest type: timeLimit, NPC giver (Guild Agent), and 5-handle GiveQuest with ClaimQuest on Succeeded.

🎬 Video Walkthrough

Step-by-step Guide

1

Other vs Daily/Journal — 3 differences

Other quests differ on 3 axes: WHO gives (NPC, not Player.OnSpawn), WHO claims (NPC again, not the HUD), and PRESSURE (timeLimit countdown). It's the contractual mission, the timed challenge.

2

Create the 'Express Hunt' quest (Other type)

On Quests → Other tab: New Quest 'Express Hunt'. Action 'Kill', target Goblin ×10. timeLimit '180' (3 minutes — the new field of this tutorial). Repeatable CHECKED. Rewards: 500 gold + Mage Skull ×1.

3

Create the Guild Agent (do NOT touch the Lumberjack)

Create item 'Guild Agent' (category None). Place him near the portal. Don't reuse the Lumberjack — he already has his slime/dialogue chain. Each NPC its role, each chain readable.

4

Chain: OnSpawn → Static + Talk → GiveQuest (5 handles)

OnSpawn fan-out: ChangeBehavior(Static) (he stays at his post) + Interact('Talk') → GiveQuest with quest 'Express Hunt'. The GiveQuest action exposes 5 outputs: Next, InProgress, Succeeded, Failed, Error — picked by the engine according to the player's current state.

5

Wire the 5 handles (with ClaimQuest on Succeeded)

Next → Dialogue('Quest accepted!'). InProgress → Dialogue('Time is running out!'). Succeeded → ClaimQuest (auto-distributes the rewards) → Dialogue('Magnificent! Take your gold and skull.'). Failed → Dialogue('Too late.'). Error → Dialogue('Come back later.').

6

Test success AND failure paths

Press Play. Talk to the agent → accept → 3-minute timer starts. Kill 10 goblins → return to the agent → ClaimQuest fires, rewards arrive. Optional: re-take and wait the timer out → re-talk to see the Failed branch trigger.

Actions Used