BIS fnc addCuratorIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Curator |GROUP1=
|gr1 = Curator |GROUP1=
____________________________________________________________________________________________


| Add an icon displayed in curator interface. |Description=
| Add an icon displayed in curator interface. |Description=
____________________________________________________________________________________________


| [object, iconParams, map, 3D] call [[BIS_fnc_addCuratorIcon]] |Syntax=
| [object, iconParams, map, 3D] call [[BIS_fnc_addCuratorIcon]] |Syntax=
Line 24: Line 21:


| [[Number]] - Icon ID, used in [[BIS_fnc_removeCuratorIcon]] |Return value=
| [[Number]] - Icon ID, used in [[BIS_fnc_removeCuratorIcon]] |Return value=
____________________________________________________________________________________________


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


| [[Curator]], [[BIS_fnc_removeCuratorIcon]] |See also=
| [[Curator]], [[BIS_fnc_removeCuratorIcon]] |See also=

Revision as of 23:40, 16 January 2021

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:
CuratorBIS_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


Notes

Bottom Section