ArmA: Armed Assault: Actions

From Bohemia Interactive Community
Revision as of 16:48, 10 October 2006 by Raedor (talk | contribs) (first attempt)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Introduction

...

Syntax

Parameters of scripting function 'action':

   <object> action [<type>], <object> action [<type>, <target>] or <object> action [<type>, <target>, additional parameters]

object - person initiating the action (if vehicle is given, its commander is used)

type - name of action type - see below

target - target object


["None", <target>]

["GetInCommander", <target>]

["GetInDriver", <target>]

["GetInGunner", <target>]

["GetInCargo", <target>]

["Heal", <target>]

["Repair", <target>]

["Refuel", <target>]

["Rearm", <target>]

["GetOut", <target>]

["LightOn", <target>]

["LightOff", <target>]

["EngineOn", <target>]

["EngineOff", <target>]

["SwitchWeapon", <target>, <weapon index>]

["UseWeapon", <target>, <weapon index>]

["LoadMagazine", <target>, <magazine creator>, <magazine id>, <weapon name>, <muzzle name>]

["TakeWeapon", <target>, <weapon name>]

["TakeMagazine", <target>, <magazine type name>]

["TakeFlag", <target>]

["ReturnFlag", <target>]

["TurnIn", <target>]

["TurnOut", <target>]

["WeaponInHand", <target>, <weapon name>]

["WeaponOnBack", <target>, <weapon name>]

["SitDown", <target>]

["Land", <target>]

["CancelLand", <target>]

["Eject", <target>]

["MoveToDriver", <target>]

["MoveToGunner", <target>]

["MoveToCommander", <target>]

["MoveToCargo", <target>]

["HideBody", <target>]

["TouchOff", <target>]

["SetTimer", <target>]

["Deactivate", <target>]

["NVGoggles", <target>]

["ManualFire", <target>]

["AutoHover", <target>]

["StrokeFist", <target>]

["StrokeGun", <target>]

["LadderUp", <target>, <ladder index>, <ladder position>]

["LadderDown", <target>, <ladder index>, <ladder position>]

["LadderOnDown", <target>, <ladder index>, <ladder position>]

["LadderOnUp", <target>, <ladder index>, <ladder position>]

["LadderOff", <target>, <ladder index>]

["FireInflame", <target>]

["FirePutDown", <target>]

["LandGear", <target>]

["FlapsDown", <target>]

["FlapsUp", <target>]

["Salute", <target>]

["ScudLaunch", <target>]

["ScudStart", <target>]

["ScudCancel", <target>]

["User", <target>, <action index>]

["DropWeapon", <target>, <weapon name>]

["DropMagazine", <target>, <magazine type name>]

["UserType", <target>, <action index>]

["HandGunOn", <target>, <weapon name>]

["HandGunOff", <target>, <weapon name>]

["TakeMine", <target>]

["DeactivateMine", <target>]

["UseMagazine", <target>, <magazine creator>, <magazine id>]

["IngameMenu", <target>]

["CancelTakeFlag", <target>]

["CancelAction", <target>]

["MarkEntity", <target>]

["Talk", <target>]

["Diary", <target>]