void main() { AssignCommand(OBJECT_SELF, ClearAllActions()); AssignCommand(OBJECT_SELF, ActionAttack(GetNearestObjectByTag("CombatDummy"))); }