BIS fnc respawnEndMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1= Respawn |GROUP1=
|gr1= Respawn


| End a mission if all players are dead ''and'' there are no more respawn tickets (if any).
| End a mission if all players are dead ''and'' there are no more respawn tickets (if any).
* '''Standard syntax''' is for when [[Description.ext#respawn|Respawn]] is "NONE", "BIRD", "GROUP" or "SIDE"
* '''Standard syntax''' is for when [[Description.ext#respawn|Respawn]] is "NONE", "BIRD", "GROUP" or "SIDE"
* '''Alternative syntax''' is for when [[Description.ext#respawn|Respawn]] is "INSTANT" or "BASE"
* '''Alternative syntax''' is for when [[Description.ext#respawn|Respawn]] is "INSTANT" or "BASE"
   {{Important|Only works in Multiplayer!}} |Description=
   {{Important|Only works in Multiplayer!}}


| call [[BIS_fnc_respawnEndMission]] |Syntax=
| call [[BIS_fnc_respawnEndMission]]


| [[Nothing]] - the script doesn't end |Return value=
| [[Nothing]] - the script doesn't end


|s2= unit call [[BIS_fnc_respawnEndMission]] |Alternative Syntax=
|s2= unit call [[BIS_fnc_respawnEndMission]]


|p11= unit: [[Object]] - |Parameter 11=
|p11= unit: [[Object]] - |Parameter 11=


|r2= [[Nothing]] |Return value 2=
|r2= [[Nothing]]


|x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code> |Example 1=
|x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code>


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


| [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]] |See also=
| [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]]
}}
}}



Revision as of 23:39, 17 January 2021

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

Bottom Section