generated from Jaysyn/ModuleTemplate
13 lines
370 B
Plaintext
13 lines
370 B
Plaintext
void main()
|
|
{
|
|
object oSeen = GetLastPerceived();
|
|
|
|
if((GetIsEnemy(oSeen)) && (!(GetIsDead(oSeen))) )
|
|
{
|
|
SpeakString("Intruders! Intruders!");
|
|
DelayCommand(1.0,SpeakString("For the Red Claw!"));
|
|
ActionMoveToObject(oSeen,FALSE,2.0);
|
|
ActionDoCommand(ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectDamage(1),OBJECT_SELF));
|
|
}
|
|
}
|