I'm wondering how this can be done..
So I'm making an RTS. There are boxes with rts behavior that serves as the detectors and there are sprites that 'always' position to their own detector.
When I drag the Selection Box on a unit, it will be selected through a private variable 'state'(which sees if it's active or not) and those active units will follow the orders... How do I do it that the active units also have their respective sprites change to another animation?