object - commandobject - unit


void SetTargetObject(unit uTarget)

Scope: private

Parameters
uTarget - pointer to object on which we will operate (attack/repair).

Return values
none

Description
This function sets pointer to object on which we will now operate. For Tank it is attacked object, for Repairer repaired object etc.
Funkcja ta ustawia wskaznik do obiektu na ktorym bedziemy teraz operowac. Dla czolgu jest to obiekt ktory atakujemy, dla Repairera obiekt ktory bedziemy naprawiac itp.
Call of this function is required to draw selection under this object.

See also