Forum rules - please read before posting.

How to change text/graphic in a menu you show?

Im using a hotspot with an actionlist which does menu/change state to turn on a menu Ive made. It works fine, but how do I then swap the text and graphic in this menu ? Or can they only be static when you do them this way ?

Comments

  • Managed to get the text to update using a global variable, any way to do the graphic this way ?
  • You have to place each graphic in a separate element, and use Menu: Change state to swap them out (i.e. show one, hide all others).  If you have a lot, you can use parameters to make an ActionList that you can use to show the correct one dynamically - the Physics demo does this with the tutorial tips.
  • Excellent, thanks! You have this all covered, Ive done more tonight in a few hours than I could do in weeks writing the code from scratch.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.