Changed XP system over to PnP XP system. Updated NWNxEE scripts. Full compile. Updated public release archive.
		
			
				
	
	
		
			19 lines
		
	
	
		
			623 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			623 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#include "NW_I0_GENERIC"
 | 
						|
void main()
 | 
						|
{
 | 
						|
      switch (d4()) {
 | 
						|
                    case 1: SpeakString("And ssso it endsss!"); break;
 | 
						|
                    case 2: SpeakString("Thisss cannot be!"); break;
 | 
						|
                    case 3: SpeakString("I sssee the light!"); break;
 | 
						|
                    case 4: SpeakString("Mother will SSSLAY you!");
 | 
						|
                    }
 | 
						|
   if(GetSpawnInCondition(NW_FLAG_DEATH_EVENT))
 | 
						|
    {
 | 
						|
        SignalEvent(OBJECT_SELF, EventUserDefined(1007));
 | 
						|
    }
 | 
						|
    //ExecuteScript("sf_xp", OBJECT_SELF);
 | 
						|
    ExecuteScript("prc_npc_death", OBJECT_SELF);
 | 
						|
    ExecuteScript("prc_pwondeath", OBJECT_SELF);
 | 
						|
}
 | 
						|
 |