Home   Help Search Login Register  

Author Topic: Getting unit location in-game  (Read 545 times)

0 Members and 1 Guest are viewing this topic.

GIMPCHIMP

  • Guest
Getting unit location in-game
« on: 04 May 2003, 15:43:29 »
I'd like to be able to position units in buildings where I want them without having to repeatedly guess the height. When I searched the FAQ there was a (broken, but probably obsolete anyway) link to a script that could return the x,y and z coordinates (ie. in text form rather than in a variable) of the player in-game once they were in position so they could be copied and set to the position of the AI unit. Does anyone have a copy of this script, or could they recreate it?

Cheers.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Getting unit location in-game
« Reply #1 on: 04 May 2003, 16:02:42 »
If you place a waypoint directly over a building you get a drop down box in the waypoint screen allowing you to specify the postion.

Can you post exact details of the broken link in the Editors Depot Comments board, so we can get it fixed?    Thanks.
Plenty of reviewed ArmA missions for you to play

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Getting unit location in-game
« Reply #2 on: 04 May 2003, 20:56:42 »
that script was probably just this in a reapeatable radio trigger

hint format ["%1",getpos player]