BIS fnc respawnCounter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________
| arma3 |Game name=


{{Function|= Comments
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| Set or execute respawn counter params. |Description=
 
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| [text,colour] call [[BIS_fnc_respawnCounter]] |Syntax=


Description:
|p1=text: [[String]] - Text displayed below the respawn counter |Parameter 1=
Set or execute respawn counter params


Parameter(s):
|p2=colour: [[Number]] - (Optional, default 0) Can be:<br>
0: TEXT - text displayed below the respawn counter
0 = default<br>
1: NUMBER - counter color (0 - default, 1 - warning, 2 - error)
1 = warning<br>
2 = error|Parameter 2=


Returns:
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Boolean]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_respawnCounter]]; --> |= Syntax
|x1= <code>["Some text", 2] [[call]] [[BIS_fnc_respawnCounter]];</code>|Example 1=


|p1= |= Parameter 1
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=
| [[:Category:Function Group: Respawn| Respawn Functions]]  |See also=
____________________________________________________________________________________________
 
| |= See also
 
}}
}}



Revision as of 13:32, 21 June 2018

Hover & click on the images for description

Description

Description:
Set or execute respawn counter params.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[text,colour] call BIS_fnc_respawnCounter
Parameters:
text: String - Text displayed below the respawn counter
colour: Number - (Optional, default 0) Can be:
0 = default
1 = warning
2 = error
Return Value:
Boolean

Examples

Example 1:
["Some text", 2] call BIS_fnc_respawnCounter;

Additional Information

See also:
Respawn Functions

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

Notes

Bottom Section