BIS fnc missionRespawnType: Difference between revisions
Jump to navigation
Jump to search
m (see also and category) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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= | |||
|p1= type: [[Number]] or [[String]] - wanted return value type |Parameter 1= | |||
| [[Number]] or [[String]] - return type depends on ''type'' |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | |x1= <code>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 1= | ||
| | |x2= <code>_respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Respawn]], [[Arma 3 Respawn: New Respawn Screen]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] |See also= | |||
|[[Arma 3 Respawn]],[[Arma 3 Respawn: New Respawn Screen]],[[ | |||
}} | }} | ||
Revision as of 14:54, 5 June 2018
Description
- Description:
- Return respawn type defined in Description.ext. Can return as Number (e.g 1) or String (e.g "BIRD").
- Execution:
- call
- Groups:
- Uncategorised
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