BIS fnc respawnEndMission: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Respawn(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Respawn |GROUP1= | |gr1= Respawn |GROUP1= | ||
| 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). | ||
Line 13: | Line 11: | ||
* '''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!}} |Description= | ||
| call [[BIS_fnc_respawnEndMission]] |Syntax= | | call [[BIS_fnc_respawnEndMission]] |Syntax= | ||
Line 24: | Line 21: | ||
|r2= [[Nothing]] |Return value 2= | |r2= [[Nothing]] |Return value 2= | ||
|x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code> |Example 1= | |x1= <code>[[call]] [[BIS_fnc_respawnEndMission]];</code> |Example 1= | ||
|x2= <code>[[player]] [[call]] [[BIS_fnc_respawnEndMission]];</code> |Example 2= | |x2= <code>[[player]] [[call]] [[BIS_fnc_respawnEndMission]];</code> |Example 2= | ||
| [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]] |See also= | | [[BIS_fnc_endMission]], [[BIS_fnc_respawnTickets]], [[BIS_fnc_missionRespawnType]], [[playableUnits]], [[isMultiplayer]] |See also= |
Revision as of 23:52, 16 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