Restructured visitors to be a little more clear what action is supposed to be executed, when.
Right clicking a targetable entity with units selected will generate and send a TargetMessage, which is given to the TargetingSystem (different from how most messages are handled) to be processed synchronously during the game loop.
Targeting Behavior
After selecting a unit, right click on a non-ally entity to target it.
This will change the unit's "intent". It will attack that entity whenever possible (if that entity isn't in range, it'll just attack the closest as usual).
Testing this has revealed a bug where towers that are placed in fog of war are not marked as "visible" for the owner, even when they've completed spawning.
TargetMessage
, which is given to theTargetingSystem
(different from how most messages are handled) to be processed synchronously during the game loop.Targeting Behavior
Testing this has revealed a bug where towers that are placed in fog of war are not marked as "visible" for the owner, even when they've completed spawning.