This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:getunitspecifiedtarget [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:getunitspecifiedtarget [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
< | < | ||
+ | |||
+ | <WRAP tabs> | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | </ | ||
====== 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 mouse when selected. | ||
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. |