mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
53 lines
1.3 KiB
Plaintext
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 *******************************************************/
|
|
|