BIS fnc setMissionStatusSlot: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 2/7) |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set a slot for mission status with sectors, respawn tickets, etc. |= | | Set a slot for mission status with sectors, respawn tickets, etc. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [id, text, texture, color, fade, position, barHeight] [[call]] [[BIS_fnc_setMissionStatusSlot]] |= | | [id, text, texture, color, fade, position, barHeight] [[call]] [[BIS_fnc_setMissionStatusSlot]] |SYNTAX= | ||
|p1= id: [[Number]] - slot ID. Use -1 to assign it automatically |= | |p1= id: [[Number]] - slot ID. Use -1 to assign it automatically |PARAMETER1= | ||
|p2= text: [[String]] - text |= | |p2= text: [[String]] - text |PARAMETER2= | ||
|p3= texture: [[String]] - icon path |= | |p3= texture: [[String]] - icon path |PARAMETER3= | ||
|p4= color: [[Array]] - color in RGBA format |= | |p4= color: [[Array]] - color in RGBA format |PARAMETER4= | ||
|p5= fade: [[Number]] - slot fade, 0 is fully visible, 0 hidden |= | |p5= fade: [[Number]] - slot fade, 0 is fully visible, 0 hidden |PARAMETER5= | ||
|p6= position: [[Array]] in Position format - position top which camera moves after clicking on the slot |= | |p6= position: [[Array]] in Position format - position top which camera moves after clicking on the slot |PARAMETER6= | ||
|p7= barHeight: [[Number]] - slot progress bar height in range <0;1>|= | |p7= barHeight: [[Number]] - slot progress bar height in range <0;1>|PARAMETER7= | ||
| [[Number]] - Slot ID |= | | [[Number]] - Slot ID |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 28: | Line 28: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[BIS_fnc_showMissionStatus]] |= | | [[BIS_fnc_showMissionStatus]] |SEEALSO= | ||
}} | }} |
Revision as of 14:33, 7 April 2019
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