playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Load Next Level
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Load Next Level (Read 1550 times)
gregacuna
Full Member
Posts: 143
Load Next Level
«
on:
November 22, 2016, 02:42:33 AM »
I'm using the Load Level action, but since I'm moving around levels in the build it would be great to be able to set it up so it loads the next level instead of a specific level by name.
Is there a way to use "Load Level Num" using a variable?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Load Next Level
«
Reply #1 on:
November 25, 2016, 02:45:42 AM »
Hi,
yess, it's perfectly possible.
use "getLoadedLevel" to get the index, and add 1 to it then inject that in LoadLevelNum.
Have you tried this?
Bye,
Jean
Logged
gregacuna
Full Member
Posts: 143
Re: Load Next Level
«
Reply #2 on:
November 30, 2016, 02:14:56 AM »
Hey Jean...that worked perfectly. Thanks so much. Not sure why I didn't get a notice that you responded, but glad I happened to check back.
Really want to thank you for Playmaker. I'm having a blast building my first game!
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Load Next Level
«
Reply #3 on:
December 01, 2016, 02:26:34 AM »
Hi,
I think you should be able to set that up in your profile settings.
I am glad you can progress!
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Load Next Level