NPC Run away on button click

NPC Run away on button click

Re: NPC Run away on button click Posted by codman1 on Sun Jan 6th 2008 at 2:08pm
codman1
2 posts
Posted 2008-01-06 2:08pm
codman1
member
2 posts 0 snarkmarks Registered: Jan 1st 2008
Hi, I want to make a button that will
activate a sound and then after about 10 seconds an NPC will run from
where they are to another point of the map following a path i create. I
have got the button working so it iwill produce a sound and also it is
linked with the npc i.e. i can kill him but i just dont know how to
make him run away

Any Ideas

Codman
Re: NPC Run away on button click Posted by Karrus on Thu Jan 10th 2008 at 5:48am
Karrus
1 post
Posted 2008-01-10 5:48am
Karrus
member
1 post 0 snarkmarks Registered: Jan 10th 2008
You can tie the button to a scripted_sequence with the 10 second delay. Place the sequence where you want the npc to run to, set the "target npc", and of course set the "move to position" to "run".