object - player


void SetScriptUnit(int nUnitIndex, unitex uUnit)

Scope: public

Parameters
uUnitIndex - index
uUnit - unit

Return values
none

Description
Sets pointer unit in common area at the specified index. it is useful to establish comunication comunication between missions or for example tracing unit (see LC campaign and fang)

See also
SetScriptData, GetScriptData, GetScriptUnit