Hello!
It is my first time that I am making a game in AGS.
I watched tutorials till now, and everything worked fine, but now I got
stuck while trying to find out how to make not-playercontrolled characters walk from one point to another, repeatedly. In my case it's a guy transferring gold from a big box to a sack(which doesn't really matter ;D).
Can anyone help me with this scripting?
Thanks in forward!
The Character Control module might be of use:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28821.0
..especially if several characters should perform tasks in the background.
It shouldn't be hard to script it by yourself though. I'd do it somehow like this:
1. character walks to box
2. character changes view (transporting gold)
3. if character has that view and is standing near the box*, he walks to the sack
4. if he has that view and stands near the sack*, he changes the view and walks back to the box
* you can use regions for that.
Quote from: Matti on Sat 22/01/2011 22:25:57
The Character Control module might be of use:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28821.0
..especially if several characters should perform tasks in the background.
It shouldn't be hard to script it by yourself though. I'd do it somehow like this:
1. character walks to box
2. character changes view (transporting gold)
3. if character has that view and is standing near the box*, he walks to the sack
4. if he has that view and stands near the sack*, he changes the view and walks back to the box
* you can use regions for that.
Even though I said "thanks in forward", I will say thanks again. I menage to make my character patrol. :)