BIS fnc missionRespawnType: 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= | ||
| Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD"). |Description= | | Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD"). |Description= | ||
| type call [[BIS_fnc_missionRespawnType]] |Syntax= | | type call [[BIS_fnc_missionRespawnType]] |Syntax= | ||
Line 17: | Line 14: | ||
| [[Number]] or [[String]] - return type depends on ''type'' |Return value= | | [[Number]] or [[String]] - return type depends on ''type'' |Return value= | ||
|x1= <code>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 1= | |x1= <code>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 1= | ||
|x2= <code>_respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 2= | |x2= <code>_respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 2= | ||
| [[Arma 3 Respawn]], [[Arma 3 Respawn]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] |See also= | | [[Arma 3 Respawn]], [[Arma 3 Respawn]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] |See also= |
Revision as of 00:30, 17 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