BIS fnc respawnEndMission: Difference between revisions

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


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Respawn


|1.00|= Game version
|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"
* '''Alternative syntax''' is for when [[Description.ext#respawn|Respawn]] is "INSTANT" or "BASE"
  {{Feature|important|Only works in Multiplayer!}}


| <pre>/*
|s1= call [[BIS_fnc_respawnEndMission]]


Description:
|r1= [[Nothing]] - the script doesn't end
End a mission if all players are dead


Parameter(s):
|s2= unit call [[BIS_fnc_respawnEndMission]]
NONE


Returns:
|p11= unit: [[Object]]
NOTHING (the script never ends)
|r2= [[Nothing]]
*/


|x1= <sqf>call BIS_fnc_respawnEndMission;</sqf>


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x2= <sqf>player call BIS_fnc_respawnEndMission;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_respawnEndMission]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_endMission]] [[BIS_fnc_respawnTickets]] [[BIS_fnc_missionRespawnType]] [[playableUnits]] [[isMultiplayer]]
}}
}}
<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:Function Group: Respawn|{{uc:respawnEndMission}}]]
[[Category:Functions|{{uc:respawnEndMission}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnEndMission}}]]

Latest revision as of 12: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