The way how I want this to work is when I collect all eight keys around the level it will trigger the exit gate to disappear and do other stuff.
I tested my blueprint multiple times but I can’t seem it get it to work. I thought it would be the >= node but I think it’s something else.
Is there anyway to do this the way I want it? Thanks!
Hi man ,
I dont see where you set the variable keys ?
Whats your Key value? add a print node to show on monitor the value of key.
Do it before the IF, so you are sure that fires, What value get you?
I Think that you will have always the same value , even entering all the triggers,
You have to add to the count of the variable!
When you enter one of the trigger, unreal will check the var KEY of player , if is > of 8 and if it is , then he will destory the actor, is ok
But when the var change?
You should add a SET ++, after the Cast to player, so every time you enter one of these the keycount will be 1 more !
Be careful, i think you can enter multiple times in the same trigger and keeping collecting keys.
You have to disable the triggers once you used them.
I think I know what your talking about. I think could it be that I’m not getting count value after collecting the keys, is this how I do it?
I kept checking my player to see if gets more value after collecting a key, but it just says 0.0 after collecting it. The way how I want it is when the player collects a key it will add a 1.0 value to the key variable, but I’m not sure if I’m doing this right:
Use the “Other Actor” pin for the cast.