BIS fnc missionRespawnType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 13: Line 13:
|p1= type: [[Number]] or [[String]] - wanted return value type
|p1= type: [[Number]] or [[String]] - wanted return value type


| [[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>_respawnAsNumber = 0 [[call]] [[BIS_fnc_missionRespawnType]];</code>

Revision as of 21:25, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Respawn

Syntax

Syntax:
Syntax needed
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

See also:
Arma 3: RespawnArma 3: RespawnRespawn 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