Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Level loading done #86846
08/20/06 20:38
08/20/06 20:38
Joined: May 2006
Posts: 6
Hashi Offline OP
Newbie
Hashi  Offline OP
Newbie

Joined: May 2006
Posts: 6
I managed to get the button to load a new game working by looking at the other examples people have posted...I can get from the main menu into the level I've built and the mouse cursor disappears...however the panels I used for the main menu are still there.

How would I go about getting rid of the main menu panels after the new game has loaded?

My current function for the level load looks like this:

---

function loadlvl()
{
level_load(str_level_1);
wait(5);
mouse_map=off;
mouse_mode=off;
}

---


Re: Level loading done [Re: Hashi] #86847
08/20/06 20:41
08/20/06 20:41
Joined: Oct 2003
Posts: 2,628
IL,US
FeiHongJr Offline
Expert
FeiHongJr  Offline
Expert

Joined: Oct 2003
Posts: 2,628
IL,US
wouldnt panel.visible = off; work? Just call that for the panels after the level is loaded... Id also use bmap_purge() or purge_bmap().... To clear the memory. Sorry been too long since ive scripted to remember exactally.


http://www.freewebs.com/otama_syndicate/index.htm - Each master to his own technique.

- Not me said the bee, Nor I said the fly.

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1