Having actor 'move to' another actor based upon actor tag
Hey, I am trying to figure out how to have an attacking actor move towards another actor based on the tag that they hold.
I have my attack function setup to attack an actor based on distance. But I want the attacking actor to move towards another actor based on tag.
I have the 'move to' action set to the x and y position. I would like the 'move to' action set to move towards the actor with a certain tag. I see in the expression editor that it gives me the option to select 'actor tags' but I am not sure where to input the actor tag. I select 'game.Actor Tags'... then what should I put in?
This would limit me having to create multiple rules and actions. Is this even possible?
I have my attack function setup to attack an actor based on distance. But I want the attacking actor to move towards another actor based on tag.
I have the 'move to' action set to the x and y position. I would like the 'move to' action set to move towards the actor with a certain tag. I see in the expression editor that it gives me the option to select 'actor tags' but I am not sure where to input the actor tag. I select 'game.Actor Tags'... then what should I put in?
This would limit me having to create multiple rules and actions. Is this even possible?
Comments