This might be exempifying my laziness but is it possible to have a npc move from a to b straight up with creating only the single walking view. Meaning do I have to create all 4 directions if I am only going to use only 1? Also, when I use an inventory item on a npc that is supposed to make him move somewhere he does nothing. Any help would be greatly appreciated.
1. AGS won't compile until there's a sprite in every loop's first frame. But of course you don't have to draw all directions. Just put in there whatever you want.
2. Are you using a script to check for the inv item? How did you do it?
1. Cool thanks a lot. Sounds like something I should have tried.
2.I am using the use inventory on character shortcut under character interactions. I found it odd that i didnt have to pick which item was used on the npc to get an action but then again its not working anyway.
It should look like this:
(http://img406.imageshack.us/img406/1164/explaiuo9.png)
You can set the index number of the inventory item in the Conditional properties.
Then put the action(s) where it says "Do nothing".
If you want to get used to script things (which I definitely recommend), use a RunScript action instead of the Conditional and use a script like this:
if (player.ActiveInventory == iKey) {
...
}
else if (player.ActiveInventory == iPoster) {
...
}
else player.Say("I don't want to do that.");
Thank you for your help and I am trying to script more to get use to it little by little. Although when I click the inv item on the character he just stops his looping animation and does not move anywhere. I have tried to have him change views before he moves but that just has him turn the right direction but not mve and not even cycle through the all of the view sprites.
Does the character stand on a walkable area?
Ha yea I changed the direction he is moving to more of a straight shot and now he doesnt change veiws but does a mopping action which is his looping animation up to the point. It is pretty humorous but not what I was trying to do.