This is an old revision of the document!
⇐ Index
SetUnitSpecifiedTarget(<-Unit <-pos)
Sets 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. The value to set is a vector consisting of three coordinates. The map position is in the X and Z locations. The Y value of the vector is ignored.
SetUnitSpecifiedTarget(self V3(10 0 20))
⇐ Index