BIS fnc respawnEndMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - "\| *p([0-9]+) *=([^↵]+) -↵" to "|p$1=$2")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.00
|1.00


|gr1= Respawn
|gr1= Respawn


| End a mission if all players are dead ''and'' there are no more respawn tickets (if any).
|descr= 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"
   {{Feature|important|Only works in Multiplayer!}}
   {{Feature|important|Only works in Multiplayer!}}


| call [[BIS_fnc_respawnEndMission]]
|s1= call [[BIS_fnc_respawnEndMission]]


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


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


|p11= unit: [[Object]] -
|p11= unit: [[Object]]
 
|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code>
|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]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:respawnEndMission}}]]

Latest revision as of 11:50, 26 March 2024

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_endMission BIS_fnc_respawnTickets BIS_fnc_missionRespawnType playableUnits isMultiplayer

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