BIS fnc selectRespawnTemplate: 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 | ||
| Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use. | | Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use. | ||
| [mode, arguments] call [[BIS_fnc_selectRespawnTemplate]] | | [mode, arguments] call [[BIS_fnc_selectRespawnTemplate]] | ||
|p1= mode: [[String]] - '''case-sensitive''', can be one of: | |p1= mode: [[String]] - '''case-sensitive''', can be one of: | ||
Line 19: | Line 19: | ||
* "initRespawn" | * "initRespawn" | ||
* "initRespawnStart" | * "initRespawnStart" | ||
* "initRespawnEnd" | * "initRespawnEnd" | ||
|p2= arguments: [[Array]] | |p2= arguments: [[Array]] | ||
| [[Array]] of [[Script_(Handle)|Script handle]] | | [[Array]] of [[Script_(Handle)|Script handle]] | ||
|x1= <code>["playerKilledScript", []] [[call]] [[BIS_fnc_selectRespawnTemplate]];</code> | |x1= <code>["playerKilledScript", []] [[call]] [[BIS_fnc_selectRespawnTemplate]];</code> | ||
| [[Description.ext#respawn|Description.ext/respawn]] | | [[Description.ext#respawn|Description.ext/respawn]] | ||
}} | }} | ||
Revision as of 23:46, 17 January 2021
Description
- Description:
- Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use.
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- [mode, arguments] call BIS_fnc_selectRespawnTemplate
- Parameters:
- mode: String - case-sensitive, can be one of:
- "playerKilledScript"
- "playerRespawnScript"
- "playerRespawnSeagullScript"
- "playerResurrectScript"
- "playerRespawnOtherUnitScript"
- "initRespawn"
- "initRespawnStart"
- "initRespawnEnd"
- arguments: Array
- Return Value:
- Array of Script handle
Examples
- Example 1:
["playerKilledScript", []] call BIS_fnc_selectRespawnTemplate;
Additional Information
- See also:
- Description.ext/respawn
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