- Joined
- Jul 10, 2009
- Messages
- 532
Hey guys,
I am using the create units function
However, they get slightly displaced all the time, and the form of displacement seems to depend on the map coordinates of their creation points.
I'll show you some images to explain it:
The displacement directions are always the same, no matter how often I tried that. I made all tests by using the World Editor though, so its probably related to some weird testing constant.
What's the reason for this weird behaviour?
I just want to create circles at fix locations
Thanks in advance!
Eikonium
I am using the create units function
-
Unit - Create 1 Circle of Power for Player 1 (Red) at Center of [SomeRect] facing [SomePoint]
However, they get slightly displaced all the time, and the form of displacement seems to depend on the map coordinates of their creation points.
I'll show you some images to explain it:
All circles are created at the center of the red regions.
Northwest of the map. The circle got placed in a way that its own center is located at the center of the rect (I guess that's the normal way).
Northeast of the map. The circle got placed in a way that its most east point is located at the center of the rect. That means the circle got displaced at west direction.
Southeast of the map. The circle got placed in a way that its most southeast point is located at the center of the rect. That means the circle got displaced at northwest direction.
South of the map. The circle got placed in a way that its most south point is located at the center of the rect. That means the circle got displaced at north direction.
Southwest of the map. The circle got placed in a way that its most south point is located at the center of the rect. That means the circle got displaced at north direction.


Northwest of the map. The circle got placed in a way that its own center is located at the center of the rect (I guess that's the normal way).


Northeast of the map. The circle got placed in a way that its most east point is located at the center of the rect. That means the circle got displaced at west direction.


Southeast of the map. The circle got placed in a way that its most southeast point is located at the center of the rect. That means the circle got displaced at northwest direction.


South of the map. The circle got placed in a way that its most south point is located at the center of the rect. That means the circle got displaced at north direction.


Southwest of the map. The circle got placed in a way that its most south point is located at the center of the rect. That means the circle got displaced at north direction.
The displacement directions are always the same, no matter how often I tried that. I made all tests by using the World Editor though, so its probably related to some weird testing constant.
What's the reason for this weird behaviour?
I just want to create circles at fix locations
Thanks in advance!
Eikonium