BIS fnc setMissionStatusSlot: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.32 | |||
| 1.32 | |||
|gr1= Missions | |gr1= Missions | ||
| Set a slot for mission status with sectors, respawn tickets, etc. | |descr= Set a slot for mission status with sectors, respawn tickets, etc. | ||
| [id, text, texture, color, fade, position, barHeight] | |s1= [id, text, texture, color, fade, position, barHeight] call [[BIS_fnc_setMissionStatusSlot]] | ||
|p1= | |p1= id: [[Number]] - slot ID. Use -1 to assign it automatically | ||
|p2= | |p2= text: [[String]] - text | ||
|p3= | |p3= texture: [[String]] - icon path | ||
|p4= | |p4= color: [[Array]] - color in RGBA format | ||
|p5= | |p5= fade: [[Number]] - slot fade, 0 is fully visible, 0 hidden | ||
|p6= | |p6= position: [[Array]] in Position format - position top which camera moves after clicking on the slot | ||
|p7= | |p7= barHeight: [[Number]] - slot progress bar height in range <0;1> | ||
| [[Number]] - | |r1= [[Number]] - slot ID | ||
|x1= | |x1= | ||
Line 25: | Line 24: | ||
|seealso= [[BIS_fnc_showMissionStatus]] | |seealso= [[BIS_fnc_showMissionStatus]] | ||
}} | }} | ||
Latest revision as of 15:49, 8 November 2023
Description
- Description:
- Set a slot for mission status with sectors, respawn tickets, etc.
- Execution:
- call
- Groups:
- Missions
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
- Examples:
- Example needed
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