action

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

unit action action

Operand types:

unit: Object

action: Array

Type of returned value:

Nothing

Description:

Make unit peform an action.

Format of action may be [type, target, param1, param2, param3].

Only type is required, target defaults to unit, param1, param2, param3 are type specific.

Example:

soldierOne action ["eject", vehicle soldierOne]