~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetUnitSpecifiedTarget|Get]]
* [[4rpl:commands:SetUnitSpecifiedTarget|Set]]
* [[4rpl:commands:ClearUnitSpecifiedTarget|Clear]]
====== ClearUnitSpecifiedTarget ======
ClearUnitSpecifiedTarget(<-Unit)
===== Description =====
Removes/clears a unit's specified target. The specified target is a map cell location that is set either by the player or by script.
It typically shows up for units that allow a specified target to be set in their cpack settings. When a unit allows this, it will show a target icon that follows
the mouse when selected. The specified target is good for units that like to allow a player to specify where they should fire.
===== Examples =====
ClearUnitSpecifiedTarget(self)
<=[[4rpl:start| Index]]