BIS fnc missionRespawnType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|gr1= Respawn | |gr1= Respawn | ||
| Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD"). | |descr= Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD"). | ||
|s1= type call [[BIS_fnc_missionRespawnType]] | |s1= type call [[BIS_fnc_missionRespawnType]] |
Revision as of 21:47, 13 June 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