Help with NPC walking back and forth

Started by beomoud, Mon 05/11/2007 11:09:45

Previous topic - Next topic

beomoud

I am working on a new RPG and although i have adressed several challenging script issues i don't seem to be able to make an NPC walk left, then right, then left and so on, repeatedly until someone speaks to.

When i give him the command to walk left and then right he only walks right and when i put this command in repeatedly execute it jams, i could solve the problem by adding eBlock (wait for move to finish: true) but then i would block my script thus not allow my player character to do anything.

I want to have my NPCs walk left and right in the background so that the setting seems alive.

Can anyone give me any scripting hints? It's a simple question i guess but it looks really overwelming to me, thanks

Ashen

Read the Manual, and try searching the forum for more details. However, if you're wanting it to happen a lot, which it sounds like you are, the CharcaterControl module might be a better solution.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk