
#SPEED OF SOUND ARMA 3 CODE#
Special variables passed to the script code are: Shortcut availability can be tested with inputAction command since 1.00 condition: String - (Optional, default "true") Expression that must return true for the action to be shown. Adding available shortcut will bind corresponding keyboard key to this action. If set to false, it will leave the action menu open and visible after selecting the action, leaving the same action highlighted, for the purpose of allowing you to re-select that same action quickly, or to select another action since 1.00 shortcut: String - (Optional, default "") One of the key names defined in bin.pbo (e.g. Only the title text for the action with highest priority and showWindow set to true will be shown since 1.00 hideOnUse: Boolean - (Optional, default true) If set to true, it will hide the action menu after selecting it. Typical range is 0 to 6 since 1.00 showWindow: Boolean - (Optional, default true) If set to true, players see "Titletext" at mid-lower screen, as they approach the object. The bigger the number the higher the action will be positioned on the menu. Actions with same values will be arranged in order which they were made, newest at the bottom. Value can be negative or decimal fraction. Every game action has a preset priority value. Actions will be arranged in descending order according to this value. If Array is used as an argument for example, its first element reference would be _this select 3 select 0 since 1.00 priority: Number - (Optional, default 1.5) Priority value of the action. Accessible with _this select 3 inside the script. Since 1.00 arguments: Anything - (Optional, default nil) arguments to pass to the script.


The title text appearance can be changed with setUserActionText script: String - path to the script file, relative to the mission folder.

Because of that symbols will be interpreted as opening and closing XML tags. No agents! title: String - The action name which is displayed in the action menu, may contain Structured Text. Groups: Interaction Syntax Syntax: object addAction Parameters: object: Object - Unit, vehicle or static object. When several actions are available while mounting a vehicle and it drives away from the actions' position, they will still be shown in the menu until dismounting/boarding the vehicle again. Due to a bug in Operation Flashpoint, actions added via addAction do not get properly updated after mounting vehicles.
