BIS fnc respawnCounter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Respawn | |gr1= Respawn | ||
| Set or execute respawn counter params. | | Set or execute respawn counter params. | ||
| [text,colour] call [[BIS_fnc_respawnCounter]] | | [text,colour] call [[BIS_fnc_respawnCounter]] | ||
|p1=text: [[String]] - Text displayed below the respawn counter | |p1=text: [[String]] - Text displayed below the respawn counter | ||
|p2=colour: [[Number]] - (Optional, default 0) Can be:<br> | |p2=colour: [[Number]] - (Optional, default 0) Can be:<br> | ||
0 = default<br> | 0 = default<br> | ||
1 = warning<br> | 1 = warning<br> | ||
2 = error | 2 = error | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>["Some text", 2] [[call]] [[BIS_fnc_respawnCounter]];</code> | |x1= <code>["Some text", 2] [[call]] [[BIS_fnc_respawnCounter]];</code> | ||
| [[:Category:Function Group: Respawn| Respawn Functions]] | | [[:Category:Function Group: Respawn| Respawn Functions]] | ||
}} | }} | ||
Revision as of 23:35, 17 January 2021
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:
["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