UserActions

From BISim Wiki - Mirror I
Jump to: navigation, search

Description

Defines an action to be associated with the current object class. Commonly used for operating doors on vehicles.

Class Properties

Examples

Example 1: class UserActions { class viewHUD { displayName = "<img image='\someAddon\images\icon1.paa' size='1' shadow='false' /> Show HUD"; displayNameDefault = "<img image='\someAddon\images\icon1.paa' size='3' shadow='false' />"; priority = 3; radius = 20; position = "camera"; showWindow = 0; onlyForPlayer = 1; shortcut = "reloadMagazine"; condition = "(player in [gunner this, driver this]) && (alive this)"; statement = "[this, 10] execVM ""\someAddon\scripts\showHUD.sqf"";"; }; };

Additional Information

See also: addAction

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox