Server Totals
Le'Or - (1)
Elysia - (0)
Deglos - (0)
Ferrell - (0)
M'Chek - (0)
Mikona - (0)
Wilderness - (0)
Visimontium - (0)
Underdark - (0)
Total players: 1
Gallery

Links Menu

Question: NPC to run away and vanish after conversation

Moderators: Nighthawk4, Dungeon Masters

Question: NPC to run away and vanish after conversation

PostAuthor: 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
Jazz
Team Member; Retired with Honors
 
Posts: 6020
Images: 1
Joined: Fri Sep 17, 2004 5:25 pm
Location: Nijmegen, The Netherlands
Timezone: GMT +1/+2

PostAuthor: 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
Krator
Elder Sage
 
Posts: 4947
Joined: Thu Jun 10, 2004 6:44 pm
Location: Amsterdam
Timezone: GMT

PostAuthor: 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.
User avatar
Final Shinryuu
Sage
 
Posts: 2060
Joined: Thu Jun 24, 2004 3:20 am
Location: http://hades.mercuric.net/

PostAuthor: Jazz » Tue Aug 29, 2006 5:03 pm

I've made it work, thanks!
User avatar
Jazz
Team Member; Retired with Honors
 
Posts: 6020
Images: 1
Joined: Fri Sep 17, 2004 5:25 pm
Location: Nijmegen, The Netherlands
Timezone: GMT +1/+2


Return to NWN Scripting

Who is online

Registered users: Bing [Bot], Google [Bot]