Custom Gamemode Level Exiting

StarManiaKG

I Develtop Things :)
So I'm having trouble with getting a level for a custom game mode I've made to end. I've tried doing somethings in Lua but some of it doesn't work. Can someone help?

EDIT: to specify, the mod is like a fighting mode. When you kill all the players in the map, it doesn't end the game mode. This is what I mean by, can someone help.
 
Last edited:
dHktQcs.png


Call G_ExitLevel() to end the level immediately.
Optionally, call G_SetCustomExitVars to set exit parameters.

Link to Lua/Functions, specifically the G_Game section where these functions are.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top