Jump to content
Sign in to follow this  
Kettlewell

Ending mission / restarting mission server side

Recommended Posts

Sorry if I'm misunderstanding what you're wanting to do. Anyhow:

If (IsServer) Then {
   END_MISSION=True;
   PublicVariable "END_MISSION";
};

trigger

type: end#

Condition: END_MISSION

OnAct: ForceEnd

Share this post


Link to post
Share on other sites

Server side code would refer to server commands, see here:

Multiplayer Server Commands

http://community.bistudio.com/wiki/Multiplayer_Server_Commands

although i dont see anything for end mission but you could try #end, or something like #end mission or

#end mission and then signify the mission file name. look at the examples.

Share this post


Link to post
Share on other sites

Thanks for the help, I got it to work with, [nil,nil,rENDMISSION,"End1"] call RE;

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  

×