- Joined
- Nov 9, 2006
- Messages
- 25
How would I go about creating a spell that sets a unit to what his level was 5 minutes ago?
I thought about storing the units level to a variable every 5 minutes. But if the variable had been stored 1 minute ago, and the spell was cast, the unit would go to what his level was 1 minute ago...
Then I came up with the idea, of creating a clock (a variable that is set to +1 every 1 second). But how would I attach the units level at that point to that point in time.....
I thought about storing the units level to a variable every 5 minutes. But if the variable had been stored 1 minute ago, and the spell was cast, the unit would go to what his level was 1 minute ago...
Then I came up with the idea, of creating a clock (a variable that is set to +1 every 1 second). But how would I attach the units level at that point to that point in time.....