BIS fnc respawnEndMission: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma3 | | arma3 | ||
|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). | | 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!}} | {{Important|Only works in Multiplayer!}} | ||
| call [[BIS_fnc_respawnEndMission]] | | call [[BIS_fnc_respawnEndMission]] | ||
| [[Nothing]] - the script doesn't end | | [[Nothing]] - the script doesn't end | ||
|s2= unit call [[BIS_fnc_respawnEndMission]] | |s2= unit call [[BIS_fnc_respawnEndMission]] | ||
|p11= unit: [[Object]] - |Parameter 11= | |p11= unit: [[Object]] - |Parameter 11= | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code> | |x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code> | ||
|x2= <code>[[player]] [[call]] [[BIS_fnc_respawnEndMission]];</code> | |x2= <code>[[player]] [[call]] [[BIS_fnc_respawnEndMission]];</code> | ||
| [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]] | | [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]] | ||
}} | }} | ||
Revision as of 23:39, 17 January 2021
Description
- Description:
- End a mission if all players are dead and there are no more respawn tickets (if any).
- 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