Jump to content
Sign in to follow this  
McArcher

endMission question

Recommended Posts

END1 to END6 and LOSER are different endings, which are made in the Briefing.html file. I'm not sure what continue and killed are for, maybe they're for campaigns.

Share this post


Link to post
Share on other sites

should endMission be executed on server or on all clients? no info in wiki.

Share this post


Link to post
Share on other sites

It's local, for mission to end properly (everyone gets debriefing screen right away) it should be executed on every machine.

If it's run on just server and not on client as well, the units will just freeze on the client until server sends out command to load mission list/command to goto debrief (admin uses #missions for example). It's because the mission is still going on the client, but it has ended on server, thus it's not sending any position etc updates to clients.

Share this post


Link to post
Share on other sites

I usually end mission with:

1. objective complete: one=true;publicvariable "one";

2. objective complete: two=true;publicvariable "two";

1st ending trigger:

one && two

endit=true;publicvariable "endit";

2nd ending trigger:

endit

15|15|15 timers

dropdown option "End1"

:)

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  

×