User Tools

Site Tools


4rpl:commands:getunitspecifiedtarget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getunitspecifiedtarget [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:getunitspecifiedtarget [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +
 +<WRAP tabs>
 +  * [[4rpl:commands:GetUnitSpecifiedTarget|Get]]
 +  * [[4rpl:commands:SetUnitSpecifiedTarget|Set]]
 +  * [[4rpl:commands:ClearUnitSpecifiedTarget|Clear]]
 +</WRAP>
  
 ====== GetUnitSpecifiedTarget ====== ====== GetUnitSpecifiedTarget ======
Line 7: Line 13:
 ===== Description ===== ===== Description =====
 Pushes a unit's specified target to the stack. The specified target is a map cell location that is set either by the player or by script. Pushes a unit's specified target to the stack. 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+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. the mouse when selected.  The specified target is good for units that like to allow a player to specify where they should fire.
 If there is no specified target, then -1,0,-1 is pushed to the stack. If there is no specified target, then -1,0,-1 is pushed to the stack.
4rpl/commands/getunitspecifiedtarget.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)