Forum rules - please read before posting.

Best approach for different states of a npc

Hi,
i want to ask what the best approach is for npc`s with different states?
So for example First State he says "hey welcome" second state he says something different and so on. 

Comments

  • Use local variables to keep track of what scene-objects, including NPCs, can do.  You can order your variables by using forward-slashes, e.g. "NPC/John/CurrentState" so that they appear in sub-popup boxes in the Variable: Check and Variable: Set Actions.
  • edited November 2016
    How can i setup a loop of animations with wait? I tried this 

    http://www.directupload.net/file/d/4549/a3yaz3xp_png.htm

    but if i start the game the player cant be controlled anymore. is this maybe a bug? 
  • If your Cutscene's When running field is set to Pause Gameplay, then no.  Your Character: Animate Actions both have Wait until finished? checked, so if the Cutscene itself is set to block gameplay until it's completed - it won't because it's on a loop.

    Set the When running field to Run In Background, from within the Cutscene's properties box.
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.