BIS fnc setMissionStatusSlot: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[call\]\]) ([^ ]+) " to "|s$1= $2 call $4 ")
Line 8: Line 8:
|descr= Set  a slot for mission status with sectors, respawn tickets, etc.
|descr= Set  a slot for mission status with sectors, respawn tickets, etc.


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


|p1= id: [[Number]]  - slot ID. Use -1 to assign it automatically
|p1= id: [[Number]]  - slot ID. Use -1 to assign it automatically

Revision as of 18:17, 20 June 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

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