Help me get rid of my Event Tick Addiction!

Hey!

I am a beginner myself but would like to give my opinion.

  • In your first example (with the stamina) I do not think what you are doing is necessarily bad. But maybe a little change in the organization would help you. I will try to explain with a mock-up blueprint

Instead of checking if the stamina is full every tick, it is useful to understand that the stamina can reach 100% only when you increment it. Therefore you make this check after you increase the stamina. And by putting a condition (to see if the stamina is full) at the beginning of your tick event, your tick event will make a single comparison when the stamina is already full.

  • Overlapping with something, is usually handled with Trigger Volumes and Overlap Events (ActorBeginOverlap, ActorEndOverlap, etc.) [Bluprint Quick Guide][2]
  • Pressing a key is also handled by input events. Preferably you would first create Actions or Axis using the Project Settings and then use the events on an Actor which has controls enabled.