Spawn Trigger Volume?
I am trying to make a simple blueprint that, once the player has triggered x number of events, the game will enter a sort of "phase 2" and spawn new trigger volumes.
Basically, the player walks around the environment, runs into trigger volumes which trigger audio to play, and continues until they found all of these events. Then, the new round of trigger volumes would need to spawn.
I am quite new at this so any bit of advice is appreciated!
Here is what I have so far... Basically I am trying to set booleans for the trigger volumes that are already in game. Then the script would check using the array to see if all of these values were true. If true, spawn phase 2 trigger volumes. As you can tell I got a bit lost...
Thanks for any advice!
asked Dec 03 '14 at 12:24 AM in Blueprint Scripting
What I do when doing similar things is set the triggers to get destroyed after they've served their purpose. To bring in the new trigger volumes, I pre-place them in the world but underneath the floor. I attach them to a matinee movement track and when I want I play the matinee that brings all the triggers that I want up.
Hope this cheap trick helps :P
An alternative is to have them in the level, and only activate their overlap property once the conditions have been met, via variable. You can also destroy the previous ones when this happens, with one fell swoop.
Nothing wrong with the other answer; I always find multiple perspectives and options to be useful in case the scenario evolves in a way that calls for a different approach.
answered Dec 04 '14 at 01:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here