- Joined
- May 1, 2008
- Messages
- 1,605
Moin moin =)
Yes it's another thread from me. I try to learn vJass since 3 days and I finish my first own spell this day. Was a long day to make it but it's done so far =)
Now I have a problem, the spell creates a ball (dummy unit) that flies over the map. The problem is the dummy can fly out of the map.
I know that Vexorian created a good system called Bound Sentinel, but my plan was to make it so, that the spell will END when the ball is out of the map.
The dummy walks to the points "d.x1 und d.y1" also a rect named "ENUM_RECT" is always at the position of the ball, so I thought maybe something like "if the coordinates or the rect is out of map then end spell". Maybe it isn't that simple but can someone help me with that please?
Again: I'm learning vJass, so please a clear help that I can understand it ^^
Greetings - Thanks - Peace
Dr. Boom
Yes it's another thread from me. I try to learn vJass since 3 days and I finish my first own spell this day. Was a long day to make it but it's done so far =)
Now I have a problem, the spell creates a ball (dummy unit) that flies over the map. The problem is the dummy can fly out of the map.
I know that Vexorian created a good system called Bound Sentinel, but my plan was to make it so, that the spell will END when the ball is out of the map.
The dummy walks to the points "d.x1 und d.y1" also a rect named "ENUM_RECT" is always at the position of the ball, so I thought maybe something like "if the coordinates or the rect is out of map then end spell". Maybe it isn't that simple but can someone help me with that please?
Again: I'm learning vJass, so please a clear help that I can understand it ^^
Greetings - Thanks - Peace
Dr. Boom