BIS fnc missionRespawnType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Respawn(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Respawn


|gr1= Respawn |GROUP1=
|descr= Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD").
____________________________________________________________________________________________


| Return respawn type defined in [[Description.ext]]. Can return as [[Number]] (e.g 1) or [[String]] (e.g "BIRD"). |Description=
|s1= type call [[BIS_fnc_missionRespawnType]]
____________________________________________________________________________________________


| type call [[BIS_fnc_missionRespawnType]] |Syntax=
|p1= type: [[Number]] or [[String]] - wanted return value type


|p1= type: [[Number]] or [[String]] - wanted return value type |Parameter 1=
|r1= [[Number]] or [[String]] - return type depends on ''type''


| [[Number]] or [[String]] - return type depends on ''type'' |Return value=
|x1= <sqf>private _respawnAsNumber = 0 call BIS_fnc_missionRespawnType;</sqf>
____________________________________________________________________________________________


|x1= <code>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 1=
|x2= <sqf>private _respawnAsString = "" call BIS_fnc_missionRespawnType;</sqf>


|x2= <code>_respawnAsString = "" [[call]] [[BIS_fnc_missionRespawnType]];</code> |Example 2=
|seealso= [[Arma 3: Respawn]] [[Arma 3: Respawn]] [[:Category:Function_Group:_Respawn|Respawn Function Group]]
____________________________________________________________________________________________
 
| [[Arma 3 Respawn]], [[Arma 3 Respawn]], [[:Category:Function_Group:_Respawn|Respawn Function Group]] |See also=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:missionRespawnType}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:missionRespawnType}}]]

Latest revision as of 23:44, 12 July 2022

Hover & click on the images for description

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

See also:
Arma 3: Respawn Arma 3: Respawn Respawn Function Group

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