action: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ACTION]]
[[Category:Scripting Commands|ACTION]]
[[Category:Scripting Commands OFP 1.97|ACTION]]
[[Category:Scripting Commands OFP 1.96|ACTION]]
[[Category:Scripting Commands OFP 1.46|ACTION]]
[[Category:Scripting Commands OFP 1.46|ACTION]]
[[Category:Scripting Commands ArmA|ACTION]]
[[Category:Scripting Commands ArmA|ACTION]]

Revision as of 19:40, 1 June 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]