BIS fnc addCuratorIcon: Difference between revisions
Jump to navigation
Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious)) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.16| | |1.16|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Add an icon displayed in curator interface. |Description= | ||
____________________________________________________________________________________________ | |||
| [object, iconParams, map, 3D] call [[BIS_fnc_addCuratorIcon]] |Syntax= | |||
|p1= object: [[Object]] - Curator module |Parameter 1= | |||
|p2= iconParams: [[Array]] - Icon params (see [[drawIcon3D]] scripting command for its format) |Parameter 2= | |||
| | |p3= map: [[Boolean]] - (Optional, default [[true]]) [[True]] to show icon on map |Parameter 3= | ||
| | |p4= 3D: [[Boolean]] - (Optional, default [[true]]) [[true]] to show icon in 3D scene |Parameter 4= | ||
| | | | [[Number]] - Icon ID, used in [[BIS_fnc_removeCuratorIcon]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |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= | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 22:53, 7 June 2018
Description
- Description:
- Add an icon displayed in curator interface.
- Execution:
- call
- Groups:
- Uncategorised
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