BIS fnc respawnCounter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
m (Text replacement - " |s1=[" to " |s1= [")
Line 8: Line 8:
|descr= Set or execute respawn counter params.
|descr= Set or execute respawn counter params.


|s1=[text,colour] call [[BIS_fnc_respawnCounter]]
|s1= [text,colour] call [[BIS_fnc_respawnCounter]]


|p1=text: [[String]] - Text displayed below the respawn counter
|p1=text: [[String]] - Text displayed below the respawn counter

Revision as of 00:11, 13 July 2022

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