Unit to Mouse Explosion
Which point are you talking about? The distance variable tells us how far to move the explosion after each loop. In my example I used .5. This means the explosions would occur every one half tile.
Edit: I'll just explain the whole thing.
Start - Start coordinate of the explosion
Current Position - Th current coordinate of the explosion
Distance - Specifies how far apart the explosions are
As long as variable Distance is less than the absolut value of the mouse coordinates minus the variable Start then the actions will run
Wait slows the explosions so it's not instant
Change variable Current Position to variable Start plus Distance towards the point of the mouse
Create an explosion
Add .5 to variable Distance so when the actions run again the new value of variable Current Position will be one half tile close to the mouse position
If variable Distance is greater than or equal to the absolut value of the mouse coordinates minus the variable Start then the variable Start and variable Distance resets.
This post was edited 1 time, last edit by Morphling: May 16 2010, 2:39 am.
Skin to bone, steel to rust, ash to ashes, dust to dust.
That's the mouse x y location.
I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF.
If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown
Perhaps you shouldn't be on SEN as much, too...
Better than the iPad!
0 members in this topic (italic members are currently writing a reply): None
Raitaki -- Teamfight gangbang 24/7? :\
Raitaki -- Why do you want it as 5v5 or 6v6 anyway? On such a small map?
Raitaki -- It's not a laning map sheesh :\
Raitaki -- Um, yeah. You go in and duke it out with the enemy champ.
Wing Zero -- I wanted a bigger map. not a smaller one.
Wing Zero -- In the picture i saw of it there was only mid lane and the two river bushes. nothing else
Raitaki -- If you want a 5v5 might as well do rift or ARAM, map too short for viable multilane