12 lines
426 B
Plaintext
12 lines
426 B
Plaintext
void main()
|
|
{
|
|
if (OBJECT_SELF == OBJECT_INVALID){return;}
|
|
if (GetCommandable(OBJECT_SELF)){return;}
|
|
DeleteLocalInt(OBJECT_SELF,"captured");
|
|
SetCommandable(TRUE, OBJECT_SELF);
|
|
FloatingTextStringOnCreature("Freed",OBJECT_SELF,FALSE);
|
|
SetCommandable(TRUE, OBJECT_SELF);
|
|
AssignCommand(OBJECT_SELF, ClearAllActions());
|
|
AssignCommand(OBJECT_SELF, ActionPlayAnimation(ANIMATION_FIREFORGET_SALUTE));
|
|
}
|