BIS fnc respawnEndMission: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *([^ ]+) *call *\[\[([a-zA-Z_0-9]+)\]\] * \|r1=" to "|s1=$1 call $2 |r1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *p([0-9]+) *=([^↵]+) -↵" to "|p$1=$2") |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 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). | |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!}} | {{Feature|important|Only works in Multiplayer!}} | ||
|s1= | |s1= call [[BIS_fnc_respawnEndMission]] | ||
|r1= [[Nothing]] - the script doesn't end | |r1= [[Nothing]] - the script doesn't end | ||
Line 18: | Line 17: | ||
|s2= unit call [[BIS_fnc_respawnEndMission]] | |s2= unit call [[BIS_fnc_respawnEndMission]] | ||
|p11= unit: [[Object]] | |p11= unit: [[Object]] | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= < | |x1= <sqf>call BIS_fnc_respawnEndMission;</sqf> | ||
|x2= < | |x2= <sqf>player call BIS_fnc_respawnEndMission;</sqf> | ||
|seealso= [[BIS_fnc_endMission]] | |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