BIS fnc setMissionStatusSlot: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
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...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


| 1.32 |Game version=
| 1.32


|gr1 = Missions |GROUP1=
|gr1 = Missions


| Set  a slot for mission status with sectors, respawn tickets, etc. |DESCRIPTION=
| Set  a slot for mission status with sectors, respawn tickets, etc.


| [id, text, texture, color, fade, position, barHeight] [[call]] [[BIS_fnc_setMissionStatusSlot]] |SYNTAX=
| [id, text, texture, color, fade, position, barHeight] [[call]] [[BIS_fnc_setMissionStatusSlot]]


|p1=  id: [[Number]]  - slot ID. Use -1 to assign it automatically |PARAMETER1=
|p1=  id: [[Number]]  - slot ID. Use -1 to assign it automatically
|p2=  text: [[String]] - text |PARAMETER2=
|p2=  text: [[String]] - text
|p3=  texture: [[String]] - icon path |PARAMETER3=
|p3=  texture: [[String]] - icon path
|p4=  color: [[Array]] - color in RGBA format |PARAMETER4=
|p4=  color: [[Array]] - color in RGBA format
|p5=  fade: [[Number]] - slot fade, 0 is fully visible, 0 hidden |PARAMETER5=
|p5=  fade: [[Number]] - slot fade, 0 is fully visible, 0 hidden
|p6=  position: [[Array]] in Position format - position top which camera moves after clicking on the slot |PARAMETER6=
|p6=  position: [[Array]] in Position format - position top which camera moves after clicking on the slot
|p7=  barHeight: [[Number]] - slot progress bar height in range <0;1>|PARAMETER7=
|p7=  barHeight: [[Number]] - slot progress bar height in range <0;1>


| [[Number]] - Slot ID |RETURNVALUE=
| [[Number]] - Slot ID


|x1= <code></code>
|x1= <code></code>


| [[BIS_fnc_showMissionStatus]] |SEEALSO=
| [[BIS_fnc_showMissionStatus]]


}}
}}

Revision as of 23:44, 17 January 2021

Hover & click on the images for description

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

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