BIS fnc missionRespawnType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ") |
||
Line 14: | Line 14: | ||
|r1= [[Number]] or [[String]] - return type depends on ''type'' | |r1= [[Number]] or [[String]] - return type depends on ''type'' | ||
|x1= <code>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> | |x1= <code>[[private]] _respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> | ||
|x2= <code>_respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> | |x2= <code>[[private]] _respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> | ||
|seealso= [[Arma 3: Respawn]], [[Arma 3: Respawn]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] | |seealso= [[Arma 3: Respawn]], [[Arma 3: Respawn]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] | ||
}} | }} |
Revision as of 13:06, 6 May 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:
private _respawnAsNumber = 0 call BIS_fnc_missionRespawnType;
- Example 2:
private _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