Lord_Kakashi
The Wabbits are attacking
- Reaction score
- 27
Okay so here is what I'm trying to do. I wish to have an ability which when cast on any unit will make that one unit walk back and forth between two points for 3 seconds, as if confused, dazed or the likes..
So obviously I will set the two points depending on the units' current position
------------------------------
| *pos a
| | |
| Unit pos
| | |
| *pos b
------------------------------
These (a and b) will be variables, and the unit will as far as the idea goes also have to be stored in a variable, in order to make it move back and forth continually.
So now the big question.. How would I go around making this MUI?..
I need it so that it will be usable not only just by every player, but also by several units of the same player at the same time.
I thought about using GetLocalPlayer()? in some way... but this may cause the game to desync and then cause a server-split?..
I'm not very versed at JASS, only in the GUI form, so please.. any help would be appreciated
So obviously I will set the two points depending on the units' current position
------------------------------
| *pos a
| | |
| Unit pos
| | |
| *pos b
------------------------------
These (a and b) will be variables, and the unit will as far as the idea goes also have to be stored in a variable, in order to make it move back and forth continually.
So now the big question.. How would I go around making this MUI?..
I need it so that it will be usable not only just by every player, but also by several units of the same player at the same time.
I thought about using GetLocalPlayer()? in some way... but this may cause the game to desync and then cause a server-split?..
I'm not very versed at JASS, only in the GUI form, so please.. any help would be appreciated