BIS fnc respawnEndMission: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Respawn |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *p([0-9]+) *=([^↵]+) -↵" to "|p$1=$2") |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Respawn | ||
| | |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!}} | ||
| 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]] | |||
| | |x1= <sqf>call BIS_fnc_respawnEndMission;</sqf> | ||
| | |x2= <sqf>player call BIS_fnc_respawnEndMission;</sqf> | ||
| | |seealso= [[BIS_fnc_endMission]] [[BIS_fnc_respawnTickets]] [[BIS_fnc_missionRespawnType]] [[playableUnits]] [[isMultiplayer]] | ||
}} | }} | ||
Latest revision as of 11:50, 26 March 2024
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:
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