Actions – ArmA: Armed Assault

From Bohemia Interactive Community
Jump to navigation Jump to search
(first attempt)
 
mNo edit summary
Line 18: Line 18:




["None", <target>]
==The Actions==


["GetInCommander", <target>]  
["AutoHover", <target>]


["GetInDriver", <target>]  
["CancelAction", <target>]


["GetInGunner", <target>]  
["CancelLand", <target>]


["GetInCargo", <target>]  
["CancelTakeFlag", <target>]


["Heal", <target>]  
["Deactivate", <target>]


["Repair", <target>]  
["DeactivateMine", <target>]


["Refuel", <target>]  
["Diary", <target>]  


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


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


["LightOn", <target>]  
["Eject", <target>]


["LightOff", <target>]  
["EngineOff", <target>]


["EngineOn", <target>]  
["EngineOn", <target>]


["EngineOff", <target>]  
["FireInflame", <target>]


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


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


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


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


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


["TakeFlag", <target>]  
["GetInDriver", <target>]


["ReturnFlag", <target>]  
["GetInGunner", <target>]


["TurnIn", <target>]  
["GetOut", <target>]


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


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


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


["SitDown", <target>]  
["HideBody", <target>]


["Land", <target>]  
["IngameMenu", <target>]


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


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


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


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


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


["MoveToCargo", <target>]  
["Land", <target>]


["HideBody", <target>]  
["LandGear", <target>]


["TouchOff", <target>]  
["LightOn", <target>]


["SetTimer", <target>]  
["LightOff", <target>]


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


["NVGoggles", <target>]  
["ManualFire", <target>]


["ManualFire", <target>]  
["MarkEntity", <target>]


["AutoHover", <target>]  
["MoveToCargo", <target>]


["StrokeFist", <target>]  
["MoveToCommander", <target>]


["StrokeGun", <target>]  
["MoveToDriver", <target>]


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


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


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


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


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


["FireInflame", <target>]  
["Repair", <target>]


["FirePutDown", <target>]  
["ReturnFlag", <target>]


["LandGear", <target>]  
["TurnIn", <target>]


["FlapsDown", <target>]  
["TurnOut", <target>]


["FlapsUp", <target>]  
["Salute", <target>]


["Salute", <target>]  
["ScudLaunch", <target>]


["ScudLaunch", <target>]  
["ScudStart", <target>]


["ScudStart", <target>]
["ScudCancel", <target>]
 
["SetTimer", <target>]


["ScudCancel", <target>]  
["SitDown", <target>]


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


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


["DropMagazine", <target>, <magazine type name>]  
["SwitchWeapon", <target>, <weapon index>]


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


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


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


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


["DeactivateMine", <target>]  
["Talk", <target>]


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


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


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


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


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


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


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

Revision as of 16:03, 10 October 2006


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


The Actions

["AutoHover", <target>]

["CancelAction", <target>]

["CancelLand", <target>]

["CancelTakeFlag", <target>]

["Deactivate", <target>]

["DeactivateMine", <target>]

["Diary", <target>]

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

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

["Eject", <target>]

["EngineOff", <target>]

["EngineOn", <target>]

["FireInflame", <target>]

["FirePutDown", <target>]

["FlapsDown", <target>]

["FlapsUp", <target>]

["GetInCargo", <target>]

["GetInCommander", <target>]

["GetInDriver", <target>]

["GetInGunner", <target>]

["GetOut", <target>]

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

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

["Heal", <target>]

["HideBody", <target>]

["IngameMenu", <target>]

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

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

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

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

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

["Land", <target>]

["LandGear", <target>]

["LightOn", <target>]

["LightOff", <target>]

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

["ManualFire", <target>]

["MarkEntity", <target>]

["MoveToCargo", <target>]

["MoveToCommander", <target>]

["MoveToDriver", <target>]

["MoveToGunner", <target>]

["None", <target>]

["NVGoggles", <target>]

["Rearm", <target>]

["Refuel", <target>]

["Repair", <target>]

["ReturnFlag", <target>]

["TurnIn", <target>]

["TurnOut", <target>]

["Salute", <target>]

["ScudLaunch", <target>]

["ScudStart", <target>]

["ScudCancel", <target>]

["SetTimer", <target>]

["SitDown", <target>]

["StrokeFist", <target>]

["StrokeGun", <target>]

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

["TakeFlag", <target>]

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

["TakeMine", <target>]

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

["Talk", <target>]

["TouchOff", <target>]

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

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

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

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

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

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