BIS fnc setMissionStatusSlot: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
(Created page with " {{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name | 1.32 |= Game version ____________...")
Line 5: Line 5:
| arma3 |= Game name
| arma3 |= Game name


|1.00|= Game version
| 1.32 |= Game version
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Set  a slot for mission status with sectors, respawn tickets, etc. |= Description
Author: Karel Moricky
____________________________________________________________________________________________
 
Description:
Set  a slot for mission status with sectors, respawn tickets, etc.


Parameter(s):
| [id, text, texture, color, fade, position, barHeight] [[call]] [[BIS_fnc_setMissionStatusSlot]] |= Syntax
0: NUMBER - slot ID. Use -1 to assign it automatically
1: STRING - text
2: STRING - icon path
3: ARRAY - color in RGBA format
4: NUMBER - slot fade, 0 is fully visible, 0 hidden
5: ARRAY in Position format - position top which camera moves after clicking on the slot
6: NUMBER - slot progress bar height in range <0;1>


Returns:
|p1=  id: [[Number]]  - slot ID. Use -1 to assign it automatically |= Parameter 1
NUMBER - slot ID
|p2=  text: [[String]] - text |= Parameter 2
*/
|p3=  texture: [[String]] - icon path |= Parameter 3
|p4=  color: [[Array]] - color in RGBA format |= Parameter 4
|p5=  fade: [[Number]] - slot fade, 0 is fully visible, 0 hidden |= Parameter 5
|p6=  position: [[Array]] in Position format - position top which camera moves after clicking on the slot |= Parameter 6
|p7=  barHeight: [[Number]] - slot progress bar height in range <0;1>|= Parameter 7


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Number]] - Slot ID |= Return value
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_setMissionStatusSlot]]; --> |= Syntax
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 39: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[BIS_fnc_showMissionStatus]] |= See also


}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:setMissionStatusSlot}}]]
[[Category:Functions|{{uc:setMissionStatusSlot}}]]
[[Category:Functions|{{uc:setMissionStatusSlot}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setMissionStatusSlot}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setMissionStatusSlot}}]]

Revision as of 21:39, 13 December 2014


Hover & click on the images for description

Description

Description:
Set a slot for mission status with sectors, respawn tickets, etc.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[id, text, texture, color, fade, position, barHeight] call BIS_fnc_setMissionStatusSlot
Parameters:
id: Number - slot ID. Use -1 to assign it automatically
text: String - text
texture: String - icon path
color: Array - color in RGBA format
fade: Number - slot fade, 0 is fully visible, 0 hidden
position: Array in Position format - position top which camera moves after clicking on the slot
barHeight: Number - slot progress bar height in range <0;1>
Return Value:
Number - Slot ID

Examples

Example 1:

Additional Information

See also:
BIS_fnc_showMissionStatus

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