Arma 3 Scripting

BIS_fnc_initInspectable

  • Arma 3 v1.76

Function · Markdown · JSON · original wiki page

Description

Initialize inspectable object: add "Inspect" action to the object. When a player activates it, full-screen detail of the objects is shown.

Syntax

[inspectable, textureInfos, fullScreenText, soundName] call BIS_fnc_initInspectable

Parameters:

Returns: 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_initInspectable; // Show preview instantly

See also

BIS_fnc_holdActionAdd · BIS_fnc_holdActionRemove