I wonder if there's a simple way to give NPCs some kind of "memory", so that they behave more "intelligently". I know that this could be accomplished using local or global variables, but this approach becomes messy really quick. What I'm talking about would be more like instance variables.
Example: During the first interaction NPC1 told the player where the gems are hidden. Now that the player talks to NPC1 for the second time, he would not repeat that information. Instead, he will say "You already know where the gems are".
Comments
Delete or change a sprite's visibility when u run your action list again check it's state and do smth.
I described it here
However, it's completely possible to declare a variable in a custom script, attach it to the NPC, and then use custom Actions to read/write it however you like.
This seems to be exactly what I was looking for. Thanks for making AC so flexible!
>>Delete or change a sprite's visibility when u run your action list again check it's state and do smth.
Sounds like an interesting and original idea, at least for the Booleans