Dynamic Verbs in Hyperlink Menu
tripperm
25 Feb 2018, 04:09Hello all!
I'm currently creating a game using only Hyperlink menus (i.e. Command bar is turned off) and was wondering whether it is possible to populate what verbs are shown in the menus dynamically? For example, I have a TV which can be switched on or off. Right now, both verbs show in the menu, but what I am hoping to achieve is only showing 'Switch on' when the TV is off, and 'Switch off' when the TV is on. I was thinking of running a script when the particular verb is executed, which would update the menu, but I can't seem to see how this can be achieved.
Thanks!
The Pixie
25 Feb 2018, 08:22It certainly is!It is described in the second half of this page:
http://docs.textadventures.co.uk/quest/display_verbs.html

tripperm
25 Feb 2018, 20:09Awesome! Thanks for the reply!