BIS fnc respawnEndMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] \[\[([a-zA-Z0-9_]+)\]\] \[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
Line 23: Line 23:
|x1= <sqf>call BIS_fnc_respawnEndMission;</sqf>
|x1= <sqf>call BIS_fnc_respawnEndMission;</sqf>


|x2= <code>[[player]] [[call]] [[BIS_fnc_respawnEndMission]];</code>
|x2= <sqf>player call BIS_fnc_respawnEndMission;</sqf>


|seealso= [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]]
|seealso= [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]]
}}
}}

Revision as of 16:43, 10 May 2022

Hover & click on the images for description

Description

Description:
End a mission if all players are dead and there are no more respawn tickets (if any).
  • Standard syntax is for when Respawn is "NONE", "BIRD", "GROUP" or "SIDE"
  • Alternative syntax is for when Respawn is "INSTANT" or "BASE"
Only works in Multiplayer!
Execution:
call
Groups:
Respawn

Syntax

Syntax:
call BIS_fnc_respawnEndMission
Return Value:
Nothing - the script doesn't end

Alternative Syntax

Syntax:
unit call BIS_fnc_respawnEndMission
Return Value:
Nothing

Examples

Example 1:
call BIS_fnc_respawnEndMission;
Example 2:
player call BIS_fnc_respawnEndMission;

Additional Information

See also:
BIS_fnc_endMissionBIS_fnc_respawnTicketsBIS_fnc_missionRespawnTypeplayableUnitsisMultiplayer

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