| 02-14-2007, 01:03 AM | #1 |
| 02-14-2007, 01:14 AM | #2 |
Yes, it it leaks a location in the first trigger's conditions. Also, the first trigger will probably work wrong, but that's besides the point. Oh, and setting a unit's movement speed like that is a really bad idea, since it will take into account any values that may have changed it from the original value, such as items or auras. It would be much more prudent to hit the unit with a slow ability every 2 seconds which lasts 2 seconds. |
| 02-14-2007, 02:39 AM | #4 |
hmmm ok, how do i hit it with a slow spell? and what type of variable do you use to store player position? |
| 02-14-2007, 02:53 AM | #5 |
By "player position", do you mean the position of a unit owned by a player? I'd imagine so, since in JASS points are locations. ![]() As for the "slowing" via spell (I'm telling you... tornado aura is much easier), base a spell off of "slow" (the sorceress spell), and do these actions: Trigger: ![]() Unit - Create one (Whatever Your Dummy Unit Is) for (Owner of (Triggering Unit)) at (TempPoint) <I'm assuming you fixed the memory leaks>![]() Unit - Add (Your New Slow Spell) to (Last created unit)![]() Unit - Order (Last created unit) to (Human Sorceress - Slow) (Triggering unit)![]() Unit - Add a 2.00 second Generic Expiration timer to (Last created unit) |
| 02-14-2007, 03:11 AM | #6 |
aaah man this is confusing as all hell hahah brain melting |
