Forum rules - please read before posting.

"Kenny will remember that" - how to implement popups?

Had anyone implemented the TellTale style feature of popups that say things like "Kenny will remember that"  when you interact with NPCs.?

I feel like it should be possible to trigger a menu to appear, but I don't know how to get it to appear and fade out without interrupting gameplay. It will need to now disappear when the mouse is clicked, and not block other interactions. 

Appreciate any pointers : )

Comments

  • You can do this by creating a dedicated Menu with a Label element, and turn it on using the Menu: Change state Action.  Place this in an ActionList asset that's When running field is set to Run In Background, and you can call it from any scene without interrupting gameplay.

    You could use a PopUp global variable to store the various names (Kenny, Clementine, etc), and use variable tokens to insert the name into the label's text, e.g.:

    [var:1] will remember that.

    Where "1" is the ID number of the variable in question.  You can then set the variable's value before showing the Menu, using Variable: Set.

    You could use an Engine: Wait Action followed by another Menu: Change state Action to turn off the Menu after a set time, but to have it wait for a mouse click you could use Active Inputs - see Section 2.14 of the Manual.

    Create a new Active Input that reads for the mouse click (recorded as a new Input in your Input Manager), have the Menu: Check state Action check to see if the Menu in question is open, and if so - close it.
  • That works, great, thanks :D
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.