Quest – Escort

Type: Assembly Brain
Level: not in gallery
Pages: various
Description: Found in the Quest Escort Assembly. A woodland villager asks to be escorted to his home. He will follow the player until interacted with, when he will wait where he is until interacted with again. When the villager is detected by the door of his home he throws a coin at the player and goes into his house with a puff of smoke.


Objective Door Brain

  1. WHEN [detect][iwp:Quest Giver] DO [power on]
  2. WHEN [in trigger zone][iwp:Quest Giver]
  3. …WHEN DO [power off]
  4. …WHEN DO [play fx][fx:Poof small][at position][iwp:Quest Giver][center]
  5. …WHEN DO [destroy][iwp:Quest Giver]

Quest Giver

page 1 @Interacted – Give Quest

  1. WHEN [not detect][player]
  2. …WHEN DO [emote][Greet]
  3. …WHEN DO [iwp:Exclamation Point A][visible][equals][true]
  4. WHEN [detect][player]
  5. …WHEN DO [iwp:Exclamation Point A][visible][equals][false]
  6. …WHEN DO [turn][toward][it]
  7. …WHEN [duration timer][1]DO [emote][Sad]
  8. …WHEN DO [say][Im lost Can you…]
  9. …WHEN [interacted] DO
  10. …/…WHEN DO [objvar:My Leader][equals][it]
  11. …WHEN DO [switch page][page:@Following]

page 2 @Following

  1. WHEN [once] DO [team][equals][team 1]
  2. …WHEN DO [iwp:Objective Hint (fx)][power on]
  3. …WHEN DO [invulnerable][equals][false]
  4. WHEN [page entered] DO [iwp:Exclamation Point A][visible][equals][false]
  5. WHEN DO [move][towrd][objvar:My LEader][min distance][2]
  6. WHEN [duration timer][2] DO [objvar:My Leader][say][text:Follow me]
  7. WHEN [countdown timer][2][hold time][4] DO [say][text:Here we go]
  8. WHEN [detect][player]
  9. …WHEN [interacted] DO [switch page][@Waiting here]
  10. WHEN [15][less than][distance to][objvar:My Leader]
  11. …WHEN [switch to][countdown timer][2]
  12. …/…WHEN DO [vectorvar: Teleport position][equals][objvar:My Leader][position][minus][(][objvar:My Leader][forward][multiplied by][6][)]
  13. …/…WHEN DO [play fx][fx:Poof small][at position][center]
  14. …/…WHEN DO [position][equals][vectorvar:Teleport position]
  15. …/..WHEN DO [play fx][fx:Poof][at position][center]
  16. WHEN [detect][iwp:Escort Quest Destination] DO [switch page][page:@Quest complete]
  17. WHEN DO [display][screen top tight][text:Take the lost traveller…]
  18. WHEN DO [display][screen top right][text:Travelers health]
  19. WHEN DO [display][screen top right][health]

page 3 @Waiting Here

  1. WHEN [page entered] DO [iwp:Exclamation Point][visible][equals][true]
  2. WHEN [duration timer][2] DO [objvar:My Leader][say][text:Wait here]
  3. WHEN [countdown timer][2] DO [emote][Talk]
  4. WHEN [detect][player] DO [turn][toward][it]
  5. …WHEN [countdown timer][2][hold time][4] DO [say][text:I still dont know…]
  6. …WHEN [interacted] DO [switch page][@Following]
  7. WHEN DO [display][screen top left][text:Take the lost traveller…]

page 4 @Quest complete

  1. WHEN [once] DO [iwp:objective hint][power off]
  2. WHEN [duration timer][4] DO [say][text:We made it…]
  3. …WHEN [detect][player] DO [turn][toward][it]
  4. WHEN [started to][countdown timer][2] DO [throw][Coin][at][objvar:My Leader]
  5. …WHEN DO [emote][Talk]
  6. WHEN [countdown timer][4][hold time][4] DO [move][toward][iwp:Escort Quest Destimation][min distance][0.5]


To give the option not to take the quest see Quest – Defeat Enemies



Comments are closed.

Website Powered by

Up ↑

%d bloggers like this: