BIS fnc respawnEndMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| 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"
  {{Important|Only works in Multiplayer!}} |Description=
____________________________________________________________________________________________


Description:
| call [[BIS_fnc_respawnEndMission]] |Syntax=
End a mission if all players are dead


Parameter(s):
| [[Nothing]] - the script doesn't end |Return value=
NONE


Returns:
|s2= unit call [[BIS_fnc_respawnEndMission]] |Alternative Syntax=
NOTHING (the script never ends)
*/


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


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|r2= [[Nothing]] |Return value 2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_respawnEndMission]]; --> |= Syntax
|x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code> |Example 1=
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


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


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


Line 46: Line 40:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:respawnEndMission}}]]
[[Category:Function Group: Respawn|{{uc:respawnEndMission}}]]
[[Category:Function Group: Respawn|{{uc:respawnEndMission}}]]
[[Category:Functions|{{uc:respawnEndMission}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnEndMission}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnEndMission}}]]

Revision as of 14:35, 5 June 2018

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:
Uncategorised

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

Notes

Bottom Section