BIS fnc missionRespawnType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
(8 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= 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= | |s1= type call [[BIS_fnc_missionRespawnType]] | ||
|p1= type: [[Number]] or [[String]] - wanted return value type | |p1= type: [[Number]] or [[String]] - wanted return value type | ||
|r1=[[Number]] or [[String]] - return type depends on ''type'' | |r1= [[Number]] or [[String]] - return type depends on ''type'' | ||
|x1= < | |x1= <sqf>private _respawnAsNumber = 0 call BIS_fnc_missionRespawnType;</sqf> | ||
|x2= < | |x2= <sqf>private _respawnAsString = "" call BIS_fnc_missionRespawnType;</sqf> | ||
|seealso= [[Arma 3: Respawn]] | |seealso= [[Arma 3: Respawn]] [[Arma 3: Respawn]] [[:Category:Function_Group:_Respawn|Respawn Function Group]] | ||
}} | }} |
Latest revision as of 23:44, 12 July 2022
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:
- Example 2:
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