BIS_fnc_initInspectable
Jump to navigation
Jump to search
Description
- Description:
- Initialize inspectable object: add "Inspect" action to the object. When a player activates it, full-screen detail of the objects is shown.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [inspectable, textureInfos, fullScreenText, soundName] call BIS_fnc_initInspectable
- Parameters:
- inspectable: Object - object on which the action is added
- textureInfos: can be one of the following:
- fullScreenText: String - text to be shown after clicking on READ button. Ideally localized.
- soundName: String - sound played when entering full-screen preview. Sould be defined in CfgSounds.
- Return Value:
- Nothing
Examples
- Example 1:
[myLeaflet, "#(argb,8,8,3)color(1,0,1,1)", "This is some Magic Pink"] call BIS_fnc_initInspectable; // Initialize
- Example 2:
[myLeaflet, true] call BIS_fnc_initLeaflet; // Show preview instantly
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note