Overkillz Posted June 15, 2014 Share Posted June 15, 2014 Hi everyone, I hope you can help me with this little problem. Actually, Im trying to hide " Next map starts in : 3,2, ...etc " function RaceMode.endMap() if stateAllowsPostFinish() then gotoState('PostFinish') local text = g_GameOptions.randommaps and 'Next map starts in:' or 'Vote for next map starts in:' Countdown.createDx(text,5, RaceMode.startNextMapSelect) triggerEvent('onPostFinish', g_Root) end end I tried to do this: function RaceMode.endMap() if stateAllowsPostFinish() then gotoState('PostFinish') local text = g_GameOptions.randommaps and '' or '' Countdown(5, RaceMode.startNextMapSelect) triggerEvent('onPostFinish', g_Root) end end I deleted " createDx " but when the race end, it got infinite time waiting " Type: Race Link to comment
Gtagasje Posted June 16, 2014 Share Posted June 16, 2014 I've never done anything with the race gamemode nor looked at it, but I think you can just remove the countdown and instantly trigger the function that starts the next map. So you would have to select a random map yourself (instead of letting the people select one by triggering the select function) and then start that one. Link to comment
Overkillz Posted June 16, 2014 Author Share Posted June 16, 2014 I wont delete de countdown, just the text, because Im using a Podium. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now