How do I make sure you can’t collect the same thing
I’m trying to create a level that has multiple scenes in it and you have to collect a lot of things, but I don’t want the player to find a cheese to just replay the level just to get that collectible. Is there a way to make sure that the collectible stays gone once the player had already collected it?
-
I believe this youtube video covers how to use variables to do that. It might be the wrong one. I know he talks about it in one of them.
https://www.youtube.com/watch?v=2Iu48bEHv2U
Andy -
You can use variables for this. Have a uniquely-named persistent variable somewhere in your scene that won't be deleted. Use a variable modifier in the pickup to change its value to 1 (for example). If next time that scene is loaded the variable is 1, don't show the pickup.
Have a look at JimmyJules153's tutorial on variables. https://www.youtube.com/watch?v=SPHvOVW7uyc&feature=youtu.be
Or my dreams documentation that goes into using gadgets in-depth. https://docs.google.com/document/d/1gvFqQl84-kEIO0u3PRTXmXMQDEcnV8kCm80bLNur_7M/edit#heading=h.5txy7pfdxwc9
Please sign in to leave a comment.