Search the Community
Showing results for tags 'Load Next Map'.
I am trying to make it so when you press space it advances to the next map, but am having a little trouble. I have it embedded in the Player (for the ball game template). Here's what I have Script.mapname=""--string "Map Name" if self.levelcomplete then if window:KeyHit(Key.Space) then return Map:Load("Maps/"..self.mapname) end When I hit space, the text disappears and reappers really fast. It's doing something, but I don't know what. Are there any suggestions???