BIS fnc addCuratorIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
Line 20: Line 20:
|r1= [[Number]] - icon ID, used in [[BIS_fnc_removeCuratorIcon]]
|r1= [[Number]] - icon ID, used in [[BIS_fnc_removeCuratorIcon]]


|x1= <sqf>[ curatorModule, ["targetIcon.paa", [1,1,1,1], position player, 1, 1, 45, "Target", 1, 0.05, "TahomaB"], false ] call BIS_fnc_addCuratorIcon;</sqf>
|x1= <sqf>[curatorModule, ["targetIcon.paa", [1,1,1,1], position player, 1, 1, 45, "Target", 1, 0.05, "TahomaB"], false] call BIS_fnc_addCuratorIcon;</sqf>


|seealso= [[Arma 3: Curator]] [[BIS_fnc_removeCuratorIcon]]
|seealso= [[Arma 3: Curator]] [[BIS_fnc_removeCuratorIcon]]
}}
}}

Latest revision as of 18:27, 8 November 2023

Hover & click on the images for description

Description

Description:
Add an icon displayed in curator interface.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[object, iconParams, map, 3D] call BIS_fnc_addCuratorIcon
Parameters:
object: Object - curator module
iconParams: Array - icon params (see drawIcon3D scripting command for its format)
map: Boolean - (Optional, default true) true to show icon on map
3D: Boolean - (Optional, default true) true to show icon in 3D scene
Return Value:
Number - icon ID, used in BIS_fnc_removeCuratorIcon

Examples

Example 1:
[curatorModule, ["targetIcon.paa", [1,1,1,1], position player, 1, 1, 45, "Target", 1, 0.05, "TahomaB"], false] call BIS_fnc_addCuratorIcon;

Additional Information

See also:
Arma 3: Curator BIS_fnc_removeCuratorIcon

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