object - commandobject - platoon


unit GetAttacker(int nUnit)

Scope: public

Parameters
nUnit - unit number

Return values
Unit which as last shoot to this unit, or null if not present.

Description
If unit is hit, unit which shoot to it is remembered, and you can access it by this function.

See also