Files
dsrc/sku.0/sys.server/compiled/game/script/npc/legacy_dead_miner.script
T

53 lines
1.3 KiB
Plaintext

/**********************************************************************
* Copyright (c)2000-2002 Sony Online Entertainment Inc.
* All Rights Reserved
*
* Title: <title>
* Description: <description>
* @author $Author:$
* @version $Revision:$
**********************************************************************/
/***** INCLUDES ********************************************************/
/***** CONSTANTS *******************************************************/
int INITIAL_DELAY = 1;
/***** TRIGGERS ********************************************************/
trigger OnAttach()
{
if (hasScript(self, "ai.ai"))
{
detachScript(self, "ai.ai");
}
if (hasScript(self, "ai.creature_combat"))
{
detachScript(self, "ai.creature_combat");
}
if (hasScript(self, "systems.combat.credit_for_kills"))
{
detachScript(self, "systems.combat.credit_for_kills");
}
if (hasScript(self, "systems.combat.combat_actions"))
{
detachScript(self, "systems.combat.combat_actions");
}
setPosture( self, POSTURE_KNOCKED_DOWN );
return SCRIPT_CONTINUE;
}
/***** MESSAGEHANDLERS *************************************************/
/***** COMMANDHANDLERS *************************************************/
/***** FUNCTIONS *******************************************************/