NPC Patrol
A harmless guard walks a connected two-room route. Its real location changes as turns pass. Meet and talk to the guard; it cannot answer from a different room.
Try the sample
Play the sample game · Download the editable game
The sample includes this recipe and a field journal. Complete the task, then USE FIELD JOURNAL to record your success and earn 100 journal points. The journal and ending are part of the sample; adding the recipe to your own game does not add them.
Set it up in your game
In TAGMaker, open Guide → Creator Cookbook → NPC Patrol, then choose Start this recipe. This opens the guided setup in Rooms.
- Under Choose the rooms and items, choose Create a new item or select an existing item by name. Give new items clear names and descriptions.
- If a direction already has a connection, explicitly choose Use existing connection. Its destination must match this recipe. Existing locks, access requirements and linked pairs are checked before saving.
- Read Messages and choices and change the text to fit your game.
- Review what will be added, reused, changed and kept. Resolve any message beside the choices.
- Choose Save recipe, then Save Project at the top to save your editable project file. Use Play Test to try the result.
- West Patrol Hall: The east hall is east. Wait here to meet the patrolling guard, then TALK GUARD.
- East Patrol Hall: The west hall is west. The guard walks between the two halls.
- guard: A harmless guard walks the connected route.
Choices you can change
- Talking to the guard: Write the message your player will see.
- Turns at each patrol stop: Starts at 2.
Walkthrough
These commands use the sample’s original names. Use your own names if you rename its items. Start a fresh game for each separate walkthrough.
Meet the real guard and observe its connected patrol
- TALK GUARD — Look for “connected route”.
- WAIT
- WAIT
- TALK GUARD
- WAIT
- TALK GUARD — Look for “connected route”.
After a successful walkthrough, choose USE FIELD JOURNAL to finish. A failure path may end the game; restart before trying another route.
Saving, returning and correcting a choice
Save recipe puts the complete setup into the current game. Save Project saves the project file. Reopen this guide and choose Start this recipe → Edit saved recipe to change the saved messages without creating duplicates. A saved setup keeps its original items and connections; create another recipe for a different setup.
Keep for later stores unfinished choices. Leaving for the guide also keeps the draft. Discard draft removes only those unfinished changes. Creator Undo reverses the entire recipe save in one step.
Existing rooms keep their other connections. Items with custom events, changing text, other contents or existing behavior may need review in their own editor. When a choice is incompatible, the builder explains the conflict and leaves the game unchanged. If you edit a recipe-owned item directly in another tool, continue editing it there; the recipe will protect those changes.
Check your version
Try the task before its requirements are met, complete it, and repeat the important action. Use the player’s Save and Load controls to check that progress is remembered. Save your editable project, reopen it and inspect the saved recipe before continuing.