Does Wait Remember "Forgettable" functions?

the_ideal

user title
Reaction score
61
So we all know that certain things can be forgotten by a trigger: (attacking unit, casting unit), etc. Triggering unit can't be forgotten. (this is my understanding, anyway)

But what If I have a trigger:
Event - A unit is attacked
Action - Wait (current hit points of (attacking unit)) seconds

Will this number be forgotten, or will it calculate the number and then use it?

Thanks. +rep to anything helpful
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
If you actually put it in the wait I'm fairly certain that as long as it's accessed BEFORE the wait (Which is included w/i the wait) that it will in fact remember it. If you put anything other than triggering unit after though it will not.
 

Darthfett

Aerospace/Cybersecurity Software Engineer
Reaction score
615
It will:

calculate the number and then use it

The same goes for all functions.

Obviously, it has to first calculate the value in order to use it. It's not just going to continue calculating it continuously. That's what loops are for.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top