EN4_PRC8/_module/nss/en4_pris_attackd.nss

24 lines
561 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: Associate On Attacked
//:: NW_CH_AC5
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
If already fighting then ignore, else determine
combat round
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 16, 2001
//:://////////////////////////////////////////////
void main()
{
object oAttacker;
oAttacker = GetLastAttacker();
ClearAllActions();
ActionMoveAwayFromObject(oAttacker,TRUE,20.0f);
}