Get variable, but not every frame
Hi!
I have a variable I use for health bar which will count down to zero when the level is completed, but before the countdown starts, I need to get the current health, which was harder than I thought. The problem is that the Get Variable is every frame which means it gets the health continously while the count down is running. Is there no way to get a variable once?
-
I found a way to do it. ?
-
For anyone wondering what the answer to this would be, change it to the "when powered" mode; then it will only modify the variable the moment it is powered.
-
Sorry, I should be more specific, but I was in a little bit hurry when I wrote this. ?
Please sign in to leave a comment.