22 lines
497 B
Plaintext
22 lines
497 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oTarget;
|
|
int nInt;
|
|
|
|
object oPC = GetLastDamager();
|
|
|
|
// Have "Rannarsh2" say something.
|
|
AssignCommand(GetObjectByTag("skleader"), SpeakString("Unwilling to fight further, the creature escapes into the brakish water.."));
|
|
oTarget = GetObjectByTag("skleader");
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_skleader")));
|
|
|
|
oTarget = GetObjectByTag("skleader");
|
|
nInt = GetObjectType(oTarget);
|
|
oTarget = GetObjectByTag("skleader");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
}
|