BIS fnc respawnCounter: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|" to "|")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")  | 
				||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=function  | {{RV|type=function  | ||
| arma3  | |game1= arma3  | ||
|version1= 1.00  | |||
|1.00  | |||
|gr1= Respawn  | |gr1= Respawn  | ||
| Set or execute respawn counter params.  | |descr= Set or execute respawn counter params.  | ||
| [text,colour] call [[BIS_fnc_respawnCounter]]  | |s1= [text,colour] call [[BIS_fnc_respawnCounter]]  | ||
|p1=text: [[String]] -   | |p1=text: [[String]] - text displayed below the respawn counter  | ||
|p2=colour: [[Number]] - (Optional, default 0)   | |p2=colour: [[Number]] - (Optional, default 0) can be:<br>  | ||
0 = default<br>  | 0 = default<br>  | ||
1 = warning<br>  | 1 = warning<br>  | ||
| Line 20: | Line 19: | ||
|r1= [[Boolean]]  | |r1= [[Boolean]]  | ||
|x1= <  | |x1= <sqf>["Some text", 2] call BIS_fnc_respawnCounter;</sqf>  | ||
|seealso= [[:Category:Function Group: Respawn| Respawn Functions]]  | |seealso= [[:Category:Function Group: Respawn| Respawn Functions]]  | ||
}}  | }}  | ||
Latest revision as of 15:50, 8 November 2023
Description
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:
 
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