BIS fnc addCuratorIcon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
Lou Montana (talk | contribs) m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2") |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.16 | |||
| | |gr1= Curator | ||
| | |descr= Add an icon displayed in curator interface. | ||
| | |s1= [object, iconParams, map, 3D] call [[BIS_fnc_addCuratorIcon]] | ||
| | |p1= object: [[Object]] - curator module | ||
|p2= iconParams: [[Array]] - icon params (see [[drawIcon3D]] scripting command for its format) | |||
|p2= iconParams: [[Array]] - | |||
|p3= map: [[Boolean]] - (Optional, default [[true]]) [[true]] to show icon on map | |p3= map: [[Boolean]] - (Optional, default [[true]]) [[true]] to show icon on map | ||
Line 20: | Line 18: | ||
|p4= 3D: [[Boolean]] - (Optional, default [[true]]) [[true]] to show icon in 3D scene | |p4= 3D: [[Boolean]] - (Optional, default [[true]]) [[true]] to show icon in 3D scene | ||
| [[Number]] - | |r1= [[Number]] - icon ID, used in [[BIS_fnc_removeCuratorIcon]] | ||
|x1= < | |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> | ||
| [[Curator]] | |seealso= [[Arma 3: Curator]] [[BIS_fnc_removeCuratorIcon]] | ||
}} | }} | ||
Latest revision as of 17:27, 8 November 2023
Description
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:
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