Home   Help Search Login Register  

Author Topic: Actual [x,y,z] coords  (Read 708 times)

0 Members and 1 Guest are viewing this topic.

Offline Arctic

  • Members
  • *
  • In Utero
Actual [x,y,z] coords
« on: 23 Jan 2003, 21:53:26 »
I still dont understand what i am supposed to use to find the exact coordinates of places. I know there is some Laser Designator Script thing, but what is it?

_hammy_

  • Guest
Re:Actual [x,y,z] coords
« Reply #1 on: 23 Jan 2003, 23:33:40 »
here u can find out what the x, y,z values are for a object:
i think this should work, i haven't done it this way before

Code: [Select]
; Made by HAMMY

;how it works: [OBJECTNAME] exec "xyz.sqs"
_obj = _this select 0

_xPos = _obj Select 0
_yPos = _obj Select 1
_zPos = _obj Select 2

TitleText [format[" X: %1 ", _xPos], "PLAIN DOWN"]
TitleText [format[" Y: %1 ", _yPos], "PLAIN DOWN"]
TitleText [format[" Z: %1 ", _zPos], "PLAIN DOWN"]

exit

if this isn't what u need, i think there is something in the editors depot
« Last Edit: 23 Jan 2003, 23:34:16 by HAMMY »

cpt.Hawkeyez

  • Guest
Re:Actual [x,y,z] coords
« Reply #2 on: 24 Jan 2003, 00:29:29 »
well what do you need the coordinates for you could always use camera.sqs and just look staright at the ground at ground level that will tell you exact coordinates easiest way I found just take out he came stuff and viola

Offline Arctic

  • Members
  • *
  • In Utero
Re:Actual [x,y,z] coords
« Reply #3 on: 24 Jan 2003, 01:54:27 »
I actually used Hammy's thing, except I combined the three formats into one. Yay