• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

X and Y of Regions

Status
Not open for further replies.
Level 11
Joined
Mar 8, 2006
Messages
277
Man how can i now the exact x and y between center of region A and center of region Y?
I know u can do some "manual stuff" but how for sure?
I mean to know for this one Point with ofset( Ofseted by center of region A and Number, Number)
 
Level 11
Joined
Mar 8, 2006
Messages
277
Man lets say we have 2 units on a chesstable. How can i know the x and y of them.

I mean for when u create a unit with points with offset to know the coordonates.

Create a unit in pozition of UnitA offseted by ? and ?
 
Level 11
Joined
Mar 8, 2006
Messages
277
Man u dont understand i have even placea a pic i canot be more clear then that. I dont need to create a unit in center of the regionB or to know the distnace coz i know it already. Man answer my question how can i fing the exact x and y.

Poin with offset by X and Y how can i find it matematicaly or something, with to try to guess it or look at the mause cursour in the WE and try to fix it.
And yes i need it a bit left or down the unit to create and i need to use point with offfset so tell me plz how do i find the exact x and y?
 
Level 11
Joined
Mar 8, 2006
Messages
277
Man do u know it or what do u read what i said there

Create a unit in ceter of region a offset by 500 and 15

How could i find out that the x was 500 and the y was 15, without the set it manauly
until is good.

or

Create a unit at poztion of SelectedUnit offset by 500 and 15

How could i find out that the x was 500 and the y was 15, without the set it manauly until is good. What so hard to understand the question what??

U told me there some shit that everyone know to create a unit in center of region the question was far not to that.
 
Level 11
Joined
Mar 8, 2006
Messages
277
Man u have a fooman u want o create a unit offseted by 500 and 15 of him verytime u select him.

But how could o know the coordonates if u dont test it manualy until is good. What is so hard to understand.
 
Level 20
Joined
Jan 6, 2008
Messages
2,627
ehm, i dont know, i think you know that 500 is 500 if you set it 500, i didnt understand it, but create an integer variable, and set the offset to that variable, and before creating you set Set: Int = (Arithimetic) Int + 500 and it will get 500, 1000, 1500, 2000 etc... when creating
 
Status
Not open for further replies.
Top