BIS fnc selectRespawnTemplate: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use. |Description= | ||
____________________________________________________________________________________________ | |||
| [mode, arguments] call [[BIS_fnc_selectRespawnTemplate]] |Syntax= | |||
|p1= mode: [[String]] - '''case-sensitive''', can be one of: | |||
* "playerKilledScript" | |||
* "playerRespawnScript" | |||
* "playerRespawnSeagullScript" | |||
* "playerResurrectScript" | |||
* "playerRespawnOtherUnitScript" | |||
* "initRespawn" | |||
* "initRespawnStart" | |||
* "initRespawnEnd" |Parameter 1= | |||
|p2= arguments: [[Array]] |Parameter 2= | |||
| [[Array]] of [[Script_(Handle)|Script handle]] |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | |x1= <code>["playerKilledScript", []] [[call]] [[BIS_fnc_selectRespawnTemplate]];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Description.ext#respawn|Description.ext/respawn]] |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:{{Name|arma3}}: Functions|{{uc:selectRespawnTemplate}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:selectRespawnTemplate}}]] |
Revision as of 17:10, 8 June 2018
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