Forum rules - please read before posting.

[Solved!]Dialogues by number of repetitions of Look At interaction

edited October 2015 in Technical Q&A
Hi community,

I have an object with "look at" interaction and I want to get different answers depending on the number of times I run this interaction, as show below:

"Look At" one time -> Answer 1
"Look At" two times -> Answer 2
"Look At" three times or more ->  Answer 3

What are the steps I should take to get it?

Thanks!

Solved:
I create a local integer variable that controls how many times the player has interacted.
In ActionList Editor, add a Variable->Run sequence with 3 possible values and links the different dialogues with possible results.

Thanks to "Love Hippos" tutorial xD 
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.