BIS fnc missionRespawnType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Respawn | |gr1= Respawn | ||
| Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD"). | | Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD"). | ||
| type call [[BIS_fnc_missionRespawnType]] | | type call [[BIS_fnc_missionRespawnType]] | ||
|p1= type: [[Number]] or [[String]] - wanted return value type | |p1= type: [[Number]] or [[String]] - wanted return value type | ||
| [[Number]] or [[String]] - return type depends on ''type'' | | [[Number]] or [[String]] - return type depends on ''type'' | ||
|x1= <code>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> | |x1= <code>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> | ||
|x2= <code>_respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> | |x2= <code>_respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> | ||
| [[Arma 3 Respawn]], [[Arma 3 Respawn]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] | | [[Arma 3 Respawn]], [[Arma 3 Respawn]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] | ||
}} | }} | ||
Revision as of 00:10, 18 January 2021
Description
- Description:
- Return respawn type defined in Description.ext. Can return as Number (e.g 1) or String (e.g "BIRD").
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- type call BIS_fnc_missionRespawnType
- Parameters:
- type: Number or String - wanted return value type
- Return Value:
- Number or String - return type depends on type
Examples
- Example 1:
_respawnAsNumber = 0 call BIS_fnc_missionRespawnType;
- Example 2:
_respawnAsString = "" call BIS_fnc_missionRespawnType;
Additional Information
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