BIS fnc selectRespawnTemplate: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Respawn(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Respawn |GROUP1= | |gr1= Respawn |GROUP1= | ||
| Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use. |Description= | | Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use. |Description= | ||
| [mode, arguments] call [[BIS_fnc_selectRespawnTemplate]] |Syntax= | | [mode, arguments] call [[BIS_fnc_selectRespawnTemplate]] |Syntax= | ||
Line 27: | Line 24: | ||
| [[Array]] of [[Script_(Handle)|Script handle]] |Return value= | | [[Array]] of [[Script_(Handle)|Script handle]] |Return value= | ||
|x1= <code>["playerKilledScript", []] [[call]] [[BIS_fnc_selectRespawnTemplate]];</code> |Example 1= | |x1= <code>["playerKilledScript", []] [[call]] [[BIS_fnc_selectRespawnTemplate]];</code> |Example 1= | ||
| [[Description.ext#respawn|Description.ext/respawn]] |See also= | | [[Description.ext#respawn|Description.ext/respawn]] |See also= |
Revision as of 23:46, 16 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