void main() { object target = GetNearestObjectByTag("archerytarget003"); AssignCommand(OBJECT_SELF, ActionAttack(target)); }