• Each target has to be unique to the cloned unit that is created
• When a unit(clone) is created its instanced targetFlag has to be created as well
• This targetFlag needs to be centred on the unit gameObject to stop it moving to its target when it is first created from the building.
• Cannot have the targetFlag nested in the units gameObject
• When a unit is currently selected cursor needs to change to move cursorState
• When currentlySelected and the player right clicks the targetFlag for that unit should be set to that point on the A* grid
No comments:
Post a Comment