Initial commit. Updated release archive.
This commit is contained in:
24
_module/nss/cut108_ondamage.nss
Normal file
24
_module/nss/cut108_ondamage.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name cut108_ondamage
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Default OnDamaged script
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Keith Warner
|
||||
//:: Created On: June 11/03
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
if (GetLocalInt(OBJECT_SELF, "nRetreat") == 1)
|
||||
{
|
||||
ClearAllActions(TRUE);
|
||||
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC);
|
||||
ActionMoveAwayFromObject(oPC, TRUE);
|
||||
return;
|
||||
}
|
||||
|
||||
ExecuteScript("nw_c2_default6", OBJECT_SELF);
|
||||
}
|
Reference in New Issue
Block a user