BIS fnc selectRespawnTemplate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use. |Description=
____________________________________________________________________________________________


Description:
| [mode, arguments] call [[BIS_fnc_selectRespawnTemplate]] |Syntax=
Select respawn template from CfgRespawnTemplates and execute its script / function


Parameter(s):
|p1= mode: [[String]] - '''case-sensitive''', can be one of:
0: STRING - engine script which called the function
* "playerKilledScript"
1: ARRAY - script arguments
* "playerRespawnScript"
* "playerRespawnSeagullScript"
* "playerResurrectScript"
* "playerRespawnOtherUnitScript"
* "initRespawn"
* "initRespawnStart"
* "initRespawnEnd" |Parameter 1=


Returns:
|p2= arguments: [[Array]] |Parameter 2=
ARRAY of SCRIPTs
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[Array]] of [[Script_(Handle)|Script handle]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_selectRespawnTemplate]]; --> |= Syntax
|x1= <code>["playerKilledScript", []] [[call]] [[BIS_fnc_selectRespawnTemplate]];</code> |Example 1=
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=
| [[Description.ext#respawn|Description.ext/respawn]] |See also=
____________________________________________________________________________________________
 
| |= See also
 
}}
}}


Line 46: Line 41:


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

Revision as of 17:10, 8 June 2018

Hover & click on the images for description

Description

Description:
Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use.
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section