Confused about variables
Posted: Tue Nov 03, 2015 8:32 am
Hi there,
I've poured over the documentation and I still can't make heads or tails of how variables work in this system.
Can you give me some simple details on the following scenario please.
We have a character.
We have a variable called foo, it is a bool and its initial value is false.
The character has one conversation, it has a start then two child nodes. One has dialogue text "This way" the other has dialogue "That way".
The behavior I want is that the first time that conversation takes place, the character says "This way" and foo gets set to true.
The next time the character is interacted with they say "That way" and foo gets set to false again.
Can you give me the exact syntax I would use in the conditions field for this scenario please?
Thanks,
I've poured over the documentation and I still can't make heads or tails of how variables work in this system.
Can you give me some simple details on the following scenario please.
We have a character.
We have a variable called foo, it is a bool and its initial value is false.
The character has one conversation, it has a start then two child nodes. One has dialogue text "This way" the other has dialogue "That way".
The behavior I want is that the first time that conversation takes place, the character says "This way" and foo gets set to true.
The next time the character is interacted with they say "That way" and foo gets set to false again.
Can you give me the exact syntax I would use in the conditions field for this scenario please?
Thanks,