Removed JAI, added CODI AI. Fixed encounters & NPCs in Forest of Hope Central. Fixed Outcast store not opening. Added Druid Grove & associated NPCS.
14 lines
298 B
Plaintext
14 lines
298 B
Plaintext
void main()
|
|
{
|
|
//don't proceed if we're alive again
|
|
if ( GetIsDead( OBJECT_SELF ) || GetLocalInt( OBJECT_SELF, "TEMPDIE" ) )
|
|
{
|
|
//clear death marker
|
|
DeleteLocalInt( OBJECT_SELF, "TEMPDIE" );
|
|
|
|
//time to die
|
|
SetIsDestroyable( TRUE, FALSE, FALSE );
|
|
DestroyObject( OBJECT_SELF );
|
|
}
|
|
}
|