Actions – ArmA: Armed Assault
(first attempt) |
mNo edit summary |
||
Line 18: | Line 18: | ||
==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>] | ["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>] |
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>]