local

From Bohemia Interactive Community
Revision as of 14:15, 16 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

local obj


Operand types:

obj: Object

Type of returned value:

Boolean

Description:

MP: Check if given unit is local on the computer.

This can be used when some activation fields or scripts need to be performed only on one computer.

In SP all objects are local.

Note: All static objects are local everywhere.


Example:

local unitName