AI Dog

I have a dog that follows my player goes to specific locations based off a waypoint blueprint and has stay follow functions but i can’t for the life of me figure out how to get it to attack ai enemies on command or change the waypoint spawn to another class any help would be greatly appreciated