Playmaker Forum

Playmaker Feedback => Action Requests => Topic started by: westingtyler on September 15, 2017, 01:27:37 AM

Title: get names of levels in the build?
Post by: westingtyler on September 15, 2017, 01:27:37 AM
Hello. I want to find key game objects in the main hub level, that are named after the levels in the build, and position them on a tool shelf or hide them based on whether you've found them yet or not.

i store each key's progression in an int variable in a text file using EZ Save 2.

so my fsm needs to be like:

get amount of levels in the build
find build level X
get name of it
retrieve the int named that
check if it's 0 or 1
if it's 1, put it on the shelf. if it's 0, hide the key somewhere or destroy it.
loop.
if you're above the number of levels in the build, stop. else:
find build level X+1
get name of it.
etc.

i can "get last loaded level" but that doesn't get me the levels listed in the build settings.
Title: Re: get names of levels in the build?
Post by: djaydino on September 15, 2017, 11:00:04 AM
Hi,
i think your looking for the scenes included?

Search for "scene"
there are several action that can be useful :)