 |
|
ahenobarb
|
|
How is it possible to get the x and y coordinates of a location and assign them to a variable? I have tried to use location.x and location.y (even location.location), but everytime I use these, CTP2 says "Location is not a structure".
I did a search trough the CTP2 directory and mods and there is not a single line of code that uses location.x or .y. The disasters mod gets the X and Y by using Random(tmpX) and then assigning tmpX to another variable -- pretty clever.
But if you want a city's x and y location you can't use city[0].location.x and city[0].location.y
How do you get these values?
Last edited by ahenobarb on 20-10-2002 at 09:23
|
|
|  |
All times are GMT. The time now is 05:23. Apolyton Time is 00:23. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|