- Joined
- Feb 9, 2007
- Messages
- 56
Hi all
Hm can anybody help me? I'm trying to use that function, to creat different things like a waterslide, or wind ect...
So I want that all units that enter a certain area are constantly moved to the right, but not interrupted in moving or channeling spells...
(I also tried to do it with other ways (bit more in jass) but never managed to get no error... and i also happened to delete those tries...(stupid me))
If I try this, it says variablename expected (at the setunitx-function)
So does anybody know what's wrong with it, and how I could achieve my aim
Help would be really appreciated ;-D
Hm can anybody help me? I'm trying to use that function, to creat different things like a waterslide, or wind ect...
So I want that all units that enter a certain area are constantly moved to the right, but not interrupted in moving or channeling spells...
(I also tried to do it with other ways (bit more in jass) but never managed to get no error... and i also happened to delete those tries...(stupid me))
-
WaterslideDo Kopieren
-
Event
- Zeit - Every 0.04 seconds of game time
- Condition
-
Action
-
Unitgroupe - Pick every unit in SlideWater and do (Actions)
-
Schleifen - Aktionen
- Set TempProjectile = (Picked unit)
- Set tempPoint[0] = (Position of (Picked unit))
- Set TempX = ((X of tempPoint[0]) + 15.00)
- Custom script: call RemoveLocation(udg_tempPoint[0])
- Custom script: call SetUnitX(udg_TempProjectile, udg_TempX)
-
Schleifen - Aktionen
-
Unitgroupe - Pick every unit in SlideWater and do (Actions)
-
Event
If I try this, it says variablename expected (at the setunitx-function)
So does anybody know what's wrong with it, and how I could achieve my aim
Help would be really appreciated ;-D