• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Ok now, more math ahead.

Status
Not open for further replies.
Level 18
Joined
Oct 18, 2007
Messages
930
I need a value, that value is going to increase a stored value over time untill it reaches a stored max value.


For making this simpler to understand lets say we are going to increase a unit's size over time.

NB: Theese numbers below here attached to the variables must mach everytime, not depending on the current value

The units start size 1(SZ) will be increase to 3(EZ) over 2 seconds(T). It will increase the size with the value every 0.035(I) Interval.

The end variable SI will be the value added to the stored size value

SZ = Starting Size
EZ = Ending Size
SI = Size Increasement <---Variable i Need!
T = Time it takes
I = Interval


An optimized formula is appriciated :p

Please post if you know.
 
Last edited:
Status
Not open for further replies.
Top