BIS fnc respawnCounter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Respawn


|1.00|= Game version
|descr= Set or execute respawn counter params.
____________________________________________________________________________________________


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


Description:
|p1=text: [[String]] - text displayed below the respawn counter
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


Returns:
|r1= [[Boolean]]
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>["Some text", 2] call BIS_fnc_respawnCounter;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_respawnCounter]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[:Category:Function Group: Respawn| Respawn Functions]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:respawnCounter}}]]
[[Category:Functions|{{uc:respawnCounter}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnCounter}}]]

Latest revision as of 16:50, 8 November 2023

Hover & click on the images for description

Description

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

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