void main() { object oPC = GetLastPerceived(); if (!GetIsPC(oPC)) return; if (!GetLastPerceptionSeen()) return; ActionPlayAnimation(ANIMATION_FIREFORGET_SALUTE); }