BIS fnc selectRespawnTemplate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
Line 30: Line 30:
}}
}}


<h3 style="display:none">Bottom Section</h3>
 
[[Category:Functions|{{uc:selectRespawnTemplate}}]]
[[Category:Functions|{{uc:selectRespawnTemplate}}]]


[[Category:{{Name|arma3}}: Functions|{{uc:selectRespawnTemplate}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:selectRespawnTemplate}}]]

Revision as of 02:09, 18 January 2021

Hover & click on the images for description

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