20 lines
602 B
Plaintext
20 lines
602 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Name x2_def_ondeath
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Default OnDeath script
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Keith Warner
|
||
|
//:: Created On: June 11/03
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
AdjustAlignment(GetLastKiller(), ALIGNMENT_EVIL, 5, FALSE);
|
||
|
|
||
|
if(GetLocalInt(OBJECT_SELF, "X4_VANILLA_AI") == TRUE) ExecuteScript("nw_c2_default7_c", OBJECT_SELF);
|
||
|
else ExecuteScript("nw_c2_default7", OBJECT_SELF);
|
||
|
}
|