Question and Answer

Type:Game Mechanic Brain
Level: 2 star
Pages: 4
Description: Designed for the Troll Bridge DLC. The Troll asked for a riddle answer before you can pass. This is the less violent version than the one the Troll Bridge assembly uses. If you get the answer correct he drops a bone cudgel, if not he says better luck next time. Best used in a Character rather than a prop as it uses emotes.

Kode

page 1 @Wait for Interaction

  1. WHEN [interacted]
  2. …WHEN DO [objvar:player][equals][it]
  3. …WHEN DO [objvar:player][brain is active][equals][false]
  4. …WHEN DO [switch page][page@Riddle]

page 2 @Riddle

  1. WHEN DO [turn][toward][objvar:player]
  2. WHEN DO [objvar:player][turn][toward][me]
  3. WHEN DO [say][text:Youre in a room…]
  4. WHEN [is using controller][or using touch]
  5. …WHEN DO [display button][x][screen bottom left][without frame]
  6. …WHEN [else]
  7. …/….WHEN DO [display][icon:left shift][screen bottom left]
  8. WHEN DO [display][text:Fireplace][screen bottom left][x large font]
  9. WHEN [is using controller][or using touch]
  10. …WHEN DO [display button][A][screen bottom center[without frame]
  11. …WHEN [else]
  12. …/….WHEN DO [display][icon:space][screen bottomcenter]
  13. WHEN DO [display][text:Match][screen bottom center][x large font]
  14. WHEN [is using controller][or using touch]
  15. …WHEN DO [display button][b][screen bottom right][without frame]
  16. …WHEN [else]
  17. …/….WHEN DO [display][icon:return[screen bottom right]
  18. WHEN DO [display][text:Candle][screen bottom right][x large font]
  19. WHEN [x][pressed][without virtual controller][or][left shift][pressed]
  20. …WHEN DO [textvar:answer][equals][text:The Fireplace of course]
  21. …WHEN DO [ switch page][page:@Incorrect answer]
  22. WHEN [A][pressed][without virtual controller]
  23. …WHEN DO [textvar:answer][equals][text:The Matchof course]
  24. …WHEN DO [ switch page][page:@Correct answer]
  25. WHEN [B][pressed][without virtual controller][or][return][pressed]
  26. …WHEN DO [textvar:answer][equals][text:The Candle of course]
  27. …WHEN DO [ switch page][page:@Incorrect answer]

page 3 @Correct Answer

  1. WHEN [duration timer][2]
  2. …WHEN DO [objvar:player][say][textvar:answer]
  3. …WHEN DO [objvar:player][emote][Talk]
  4. WHEN [countdown timer][2]
  5. …WHEN [duration timer][2] DO [say][text:…][type on speed][2][x large font]
  6. WHEN [countdown timer][4]
  7. …WHEN [duration timer][2] DO [say][text: Excellent…]
  8. WHEN [countdown timer][6]
  9. …WHEN [duration timer][2] DO [say][text: Some troll dropped…]
  10. WHEN [started to][countdown timer][8]
  11. …WHEN DO [play fx][fx:Poof][at position][position][plus][(][forward][multiplied by][2][)]
  12. …WHEN DO [create][prop:Bone cudgel][at position][position][plus][(][forward][multiplied by][2][)]
  13. …WHEN DO [objvar:player][brain is active][equals][true]

page 4 @Incorrect Answer

  1. WHEN [duration timer][2]
  2. …WHEN DO [objvar:player][say][textvar:answer]
  3. …WHEN DO [objvar:player][emote][Talk]
  4. WHEN [countdown timer][2]
  5. …WHEN [duration timer][2] DO [say][text:…][type on speed][2][x large font]
  6. WHEN [countdown timer][4] DO [emote][Agree]
  7. …WHEN [duration timer][2] DO [say][text: Sorry thats incorrect..]
  8. WHEN [countdown timer][6]
  9. …WHEN [duration timer][2] DO [say][text: Better luck next time]
  10. WHEN [countdown timer][8]
  11. …WHEN DO [objvar:player][brain is active][equals][true]
  12. …WHEN DO [switch page][page@Wait for Interaction]

Alterations

Remove character after correct answer
As you cannot interact with the character after the riddle is completed you will probably wanting them to disappear (preferably in a puff of smoke. Try this

page 3 @Correct answer

  1. WHEN [countdown timer][10]
  2. …WHEN [started to] DO [play fx][fx:Poof][at position][position]
  3. …/…WHEN DO [destroy][me]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: