Jump to content
Sign in to follow this  
NFG WhatHiMean

PvP Mission with different "win/lose ending" per player side (east/west)

Recommended Posts

Exactly what the title said. I want to end the mission and have the player and their side see their respective win/lose screen. 

I have already read through this post but I don't think I can apply it, or I'm too dumb to figure it out. Either way, thanks in advance!

Share this post


Link to post
Share on other sites
5 hours ago, NFG WhatHiMean said:

Exactly what the title said. I want to end the mission and have the player and their side see their respective win/lose screen. 

I have already read through this post but I don't think I can apply it, or I'm too dumb to figure it out. Either way, thanks in advance!

 

It is definitely applicable, especially what Larrow wrote which in essence is:

 

1. Define endings in CfgDebriefing for outcome, end_win and end_lose.

2. The server monitors the game conditions and when the appropriate end occurs the server broadcast end_win to the winning side and end_lose to the losing side. A good place to start code this would be initServer.sqf

The key is to use BIS_fnc_endMission in combination with remoteExec.

 

Any questions just ask.

Share this post


Link to post
Share on other sites

In the editor is a menu item with a drop down. The choices are:

 

Intro

Mission

Outro win

Outro lose

 

You can experiment with these.

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×