Hello to everybody. I've two questions, please.
1) In the GameGuru scriptbank there are many ai scripts, and others can be added. Now, I would like to position a character that, for example, is in ai_dance state, and after he changes to ai_neutral state when the player approaches to him. I've tried to use the lua function "dofile", but it doesn't work, also because I don't know lua programming yet. So, is it possible to call another lua ai script from a particular lua file? Another example: a character is in neutral state, but when the players approahces he changes in ai_soldier state. How can I do this, please?
2) A character is located between two blocks formed by something and the player can't pass. Is it possible to make move the character a little when the player approaches, so the player can pass? I've purchased in tgcstore.com a script for NPC talking so, similar to the first question, is it possible to add a script to an esistent lua script to make the character move or, in general, to call another ai script?
Thank you.