unknown-horizons / godot-port

Unknown Horizons Godot Engine Port
https://www.unknown-horizons.org
GNU General Public License v2.0
663 stars 83 forks source link

Add buoy icon to visualize destination of selected unit #78

Closed hepfnepf closed 2 years ago

hepfnepf commented 2 years ago

Added in the buoy. It now gets spawned when setting a players unit gets the command to move. It shows/hides when selecting/deselecting the according unit. The buoy does not get spawned at the target position but at the final reachable position. E.g. when ordering a ship to go to a place on the land the buoy gets spawned next to it in the water where the lats waypoint of the ships path is.

artism90 commented 2 years ago

Thanks!