Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / question about Level select menu (and another GUI question)

Author
Message
Bibo4PC
17
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 19th Aug 2011 03:19
Hi everyone,
I was trying to develop a level selection menu using GUI, well I tried using the statement Nextlevel but it doesn't work, here's how I use it..



well it doesn't work.. am I using it wrong or does it have to be used during gameplay? if so is there anyway around it?

on more thing I've found out that replaceimage statement doesn't work, here's how I use it..



the Button1 hud is loaded, when I press it nothing happens, what am I doing wrong?

TY

Ched80
15
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 19th Aug 2011 07:52 Edited at: 19th Aug 2011 07:53
Hi,
The first code you quoted doesn't have a second colon ":", so that may be the problem as you need the second colon to define the end of the conditions and the start of the actions.
It also depends what you're expecting "nextlevel=" to do. Using this action will not send you to the level number immediately, it will only send you when the level ends via a win zone or using the "win" action. Also you won't be able to test "nextlevel=" in a test game, the function will only work in a built game.

I'm not so familiar with using GUI commands, but you may need to use the updategui action to update all the images.

I hope this helps.

Bibo4PC
17
Years of Service
User Offline
Joined: 17th Oct 2008
Location: Middle Earth
Posted: 27th Aug 2011 16:21
Quote: "The first code you quoted doesn't have a second colon ":""

just a typo, anyway still doesn't work.. and I know it's not supposed to start the level instantly, as u saw I wrote the statement (destroy) right after but it didn't work..

Login to post a reply

Server time is: 2026-07-01 02:13:58
Your offset time is: 2026-07-01 02:13:58