Or you could use on_x, like this:

Code:
function load_map()
{
  level_load("second_map.wmb");
}

on_x = load_map();



That's much more efficient than using a while loop, which might cause the map to load multiple times...


Eats commas for breakfast.

Play Barony: Cursed Edition!