action: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added link to action list)
m (corrected link)
Line 34: Line 34:
'''Possible Actions:'''
'''Possible Actions:'''


[[Actions OFP|OFP Version 1.96]]
[[List_of_Actions_OFP|OFP Version 1.96]]

Revision as of 20:52, 22 July 2006


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]


Possible Actions:

OFP Version 1.96