SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Thread Tools Search this Thread
Old 2 Weeks Ago   #1
TaZer_StarSpyPlayer4's Avatar
Default Custom Gamemode Level Exiting

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.
Why do some people say gaming is bad, when the purpose of it all is just another fun way that relaxes us all?

Last edited by TaZer_StarSpyPlayer4; 2 Weeks Ago at 03:39 PM. Reason: Had to specify what and why I needed help.
TaZer_StarSpyPlayer4 is offline   Reply With Quote
Old 2 Weeks Ago   #2
Rapidgame7's Avatar

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.

NOTICE: Game must be restarted to record statistics.
Rapidgame7 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.