BIS fnc selectRespawnTemplate: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
Line 26: | Line 26: | ||
|r1= [[Array]] of [[Script Handle|Script handle]]s | |r1= [[Array]] of [[Script Handle|Script handle]]s | ||
|x1= < | |x1= <sqf>["playerKilledScript", []] call BIS_fnc_selectRespawnTemplate;</sqf> | ||
|seealso= {{HashLink|Description.ext#respawn}} | |seealso= {{HashLink|Description.ext#respawn}} | ||
}} | }} |
Revision as of 22:44, 12 July 2022
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 handles
Examples
- Example 1:
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