I have it so when I use a pickup, I am using it (boolean), so that it checks that so that I cannot use the same pickup, until after 15 seconds.
When I test it my character picks up the second pickup anyway.
I have it so when I use a pickup, I am using it (boolean), so that it checks that so that I cannot use the same pickup, until after 15 seconds.
When I test it my character picks up the second pickup anyway.
I figured it out, when I use the powerup, it sets the boolean to true, BUT since I am attempting to use a second pickup of the same blueprint, the default is false.
So what I have to do is put that boolean in my player character, which is better anyways.
I already figured it out but aha thanks!
the way you show the blueprint it shouldnt be able to fire more than once. are you immediately spawning a new version of it or something similar? the do once prevents the script from firing more than once and at the end of the script you destroy the actor so it shouldnt be able to run more than once. Id say your problem must be elseware.
print your value, check what happen, if crappy, then try removing your variable and create a new fresh one, sometimes blueprints are stupids
Could it be because your blueprint doesn’t prevent picking up the different instance of the same pickup? Your bool variable “Using Shield pickup?” lives in the pickup itself, and different instances of pickup use their own “Using Shield Pickup?”. Probably you want this bool to be changed in you player blueprint? Cheers
Hah, yeah noticed your comment only after I posted the Answer. But thanks for accepting