Jump to content

Little Problem with Alpha


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...