Switching to another scene.
My group and I are working on a 3d board game. I am stuck on my part of trying to get the player to transition to another scene when the player lands on a spot. I need to have it to where other events will not happen while moving on other spots of the board game, only having an event happen when he lands on the right spot. Example the player rolls a 3 the character needs to walk on spots 1 and 2 without triggering the events, when he lands on spot 3 the event will trigger. I do know how to make the game transition to another level (where the player will fight an enemy) using a trigger box. I also need to know how to have the game transition to the fight scene then transition back to the board game without the board game level progress restarting from the beginning.
asked Sep 18 '15 at 12:42 AM in Blueprint Scripting
Let's take it piece by piece:
So it is very easy thing, I know that you are going to use OnBeginOverlap or any other similar event. but the problem that you have several instances of the same blueprint (1, 2 & 3) and you want it to happens with only one of them.
The most easy way is by setting a bool variable within the blueprint, and lets call it for now "theCorrectSpot", set that bool by default into false, and finally set it to true only in the right spot.
Once the beginoverlap event happens, you check if the bool is true or not, and then decide to move forward by processing the load level.
Your second part was:
Have you ever tried to find out the boundaries of a level file ?!!!
Of course no, because so far it seems ENDLESS...the meaning is, you don't have to put both things into two different maps, while you can simply keep everything inside one map/level file; but far away from each other. And make your code/logic to pause the first screen once you are at the second screen.....Thats actually the whole point of having editor within the engine, to make things easier!
answered Sep 18 '15 at 02:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here