Question: NPC to run away and vanish after conversation

Moderator: Event DM

Post Reply
Jazz
Major Event DM / CCC
Major Event DM / CCC
Posts: 7824
Joined: Fri Sep 17, 2004 5:25 pm
Timezone: GMT +1/+2
DM Avatar: Gorethar
Location: The Lowlands

Question: NPC to run away and vanish after conversation

Post by Jazz » Tue Aug 29, 2006 3:12 pm

I want a NPC to run away (to a spawnpoint) and vanish (destroy?) into thin air, when the conversation is done, like when you have set NPC's free in certain areas on Avlis. How do I do this?
User avatar
Krator
Elder Sage
Posts: 4935
Joined: Thu Jun 10, 2004 6:44 pm
Timezone: GMT
Location: Amsterdam

Post by Krator » Tue Aug 29, 2006 3:47 pm

ActionWalk

DestroyObject
Playing as: Sir Douglas Hope of Gorethar, old school paladin | Krator Blackfist, gold mage | Warren, half nymph barbarian
User avatar
Final Shinryuu
Sage
Posts: 2060
Joined: Thu Jun 24, 2004 3:20 am
Location: http://hades.mercuric.net/

Post by Final Shinryuu » Tue Aug 29, 2006 3:50 pm

And if you have the NPC set to plot or invulnerable, those would make the DestroyObject command not work. So if you do, use SetIsDestroyable on it first.
Jazz
Major Event DM / CCC
Major Event DM / CCC
Posts: 7824
Joined: Fri Sep 17, 2004 5:25 pm
Timezone: GMT +1/+2
DM Avatar: Gorethar
Location: The Lowlands

Post by Jazz » Tue Aug 29, 2006 5:03 pm

I've made it work, thanks!
Post Reply