Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: gregacuna 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?
-
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
-
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!
-
Hi,
I think you should be able to set that up in your profile settings.
I am glad you can progress!
Bye,
Jean