- Joined
- Mar 24, 2011
- Messages
- 1,082
Its simple evry 1 sec I place point to the possition of a unit. Then with a chat string the player can order all his units to atack-move to it.
The problem is with clearing the point leak.
I tried this:
And now I think (not think 99% sure) that I did something whrong with the custom script. If someone could show me how it would look like ?
The problem is with clearing the point leak.
I tried this:
-
Atack Point
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
- Custom script: call RemoveLocation(udg_Atack Point[1])
- Set AtackPoint[1] = (Position of EYE OF EVIL 0165 <gen>)
-
Events
-
Atack Point
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
- Set AtackPoint[1] = (Position of EYE OF EVIL 0165 <gen>)
- Wait 0.95 seconds
- Custom script: call RemoveLocation(udg_Atack Point[1])
-
Events
And now I think (not think 99% sure) that I did something whrong with the custom script. If someone could show me how it would look like ?