BIS fnc selectRespawnTemplate: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) m (Text replacement - "{{HashLink" to "{{Link") |
||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.00 | |||
| | |gr1= Respawn | ||
| | |descr= Select respawn template from CfgRespawnTemplates and execute its script / function. Internal use. | ||
| | |s1= [mode, arguments] call [[BIS_fnc_selectRespawnTemplate]] | ||
|p1= mode: [[String]] - '''case-sensitive''', can be one of: | |||
{{Columns|2| | |||
* "playerKilledScript" | |||
* "playerRespawnScript" | |||
* "playerRespawnSeagullScript" | |||
* "playerResurrectScript" | |||
* "playerRespawnOtherUnitScript" | |||
* "initRespawn" | |||
* "initRespawnStart" | |||
* "initRespawnEnd" | |||
}} | |||
|p2= arguments: [[Array]] | |||
|r1= [[Array]] of [[Script Handle]]s | |||
< | |x1= <sqf>["playerKilledScript", []] call BIS_fnc_selectRespawnTemplate;</sqf> | ||
|seealso= {{Link|Description.ext#respawn}} | |||
}} | }} | ||
Latest revision as of 17:44, 4 January 2023
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