frame

Howdy, Stranger!

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

Sign In Register

Is there a way to make say a npc talk when you press a certain button near it/him/her?

edited September 2013 in General
i want a sign to explain the instructions when you press the x key near it, it it possible?

Comments

  • Sure - create an object and add a sign sprite to it.

    Then, for the behaviors on this sign:

    1) First create your key press trigger and assign it to "x"
    2) Add an alert box with the instructions you would like to display
    3) Add a switch and set it to "off"
    4) Connect the input of the switch to the key press trigger, and the output to the alert box
    5) Add a proximity trigger connected to the switch "on" input, so that the instructions are enabled when you get close enough
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch