How do you set a level to open a door once all pickups are collected?

I am having trouble opening a door once I collect all the pickups in my level, can anyone help. It’s a collect all the pickups to open the door to finish the level type game.

Hey KingDano12,

Here is a project that will show you have to open a door once pickups are collected:

https://drive.google.com/file/d/0B_7mVza1uzD5ZUV5RFpQWVpuSlU/view?usp=sharing

Thank you. I was trying to make it so everytime you grab a pickup it adds 10 to a variable and once the variable is at 100 the door opens with a matinee. Is that possible or is it better to make it through a blueprint?

Just change the amount set when you pick up a drop and increase the drop amount needed accordingly.

I am kinda new to this… how did you reference a blueprint with a variable in the gamemode blueprint…(I think that’s what you did there…) in the game mode blueprint on the left side of the screen it says door and has a blue ball to the left of it…

You can create a new variable and give it a blueprint actor/class type by clicking the variable type next to its name. Typically, I will just do a search for the blueprint type I need.

103664-variabletypes2.png

Alternatively, if you already have a node that needs a specific blueprint type to plug into it, you can promote that empty pin to a variable of the exact type you need by right-clicking on the pin.

I figured it out but I am having two issues with the camera now…

1st When I pick up a collectible in an area where there is a camera set by a trigger volume it automatically changes the camera from the one its supposed to be on to a different camera actor…(multiple trigger volumes setting cameras for different locations in the level.)

2nd problem is when my player is killed by the enemy the game freezes if I play the animation and set a delay before loading a new level. If I take the delay out it will load the new level but the animation won’t play.

Any help with these? And thank you so much!