Disabling an NPC and having them Appear somewhere else...

Post » Sun Nov 15, 2009 10:02 am

Hey there,

I need a Script that does the following:


After talking to the npc about a topic i want the NPC to disapear BUT i dont want the to just go "poof"
I want them to be gone the next time the player enters the cell.


Secondly i want another NPC to appear somewhere else.

IS this possible?

=MA=
User avatar
pinar
 
Posts: 3453
Joined: Thu Apr 19, 2007 1:35 pm

Post » Sun Nov 15, 2009 1:45 pm

ok messing around in the cs and looking at other scripts i have this for the disabling when cell changed part.
The script is placed on the NPC:

Begin MA_script1If ( GetJournalIndex "MS_ScrollSales" < 30 )	If ( CellChanged == 0 )		if ( GetDisabled == 0 )		Disable		endif	endifendifEnd


would it work?
User avatar
Sophh
 
Posts: 3381
Joined: Tue Aug 08, 2006 11:58 pm

Post » Sun Nov 15, 2009 12:38 pm

Check the scripts related to Ahnassi (she is moved from the Halfway Tavern to her house) and Gashnak gra-Mughol (she appears in Uvirith's Grave). I don't have the CS ATM, and I'm not good at writing scripts, so this is the only help I can give you.
User avatar
lolli
 
Posts: 3485
Joined: Mon Jan 01, 2007 10:42 am

Post » Sun Nov 15, 2009 8:44 pm

Whoop I figured it out :D

Guess this can be locked now?
User avatar
Gemma Archer
 
Posts: 3492
Joined: Sun Jul 16, 2006 12:02 am


Return to III - Morrowind