Home   Help Search Login Register  

Author Topic: See where a person is on the map?  (Read 629 times)

0 Members and 1 Guest are viewing this topic.

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
See where a person is on the map?
« on: 09 Aug 2003, 23:28:28 »
Hi, does anyone know how to get the map coordinates of a unit? It would be like I could see his own GPS.

Thx guys, yer the best.
Weeee...

FlidMerchant

  • Guest
Re:See where a person is on the map?
« Reply #1 on: 10 Aug 2003, 15:15:06 »
The getpos command returns the co-ordinates of an object.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:See where a person is on the map?
« Reply #2 on: 10 Aug 2003, 23:25:29 »
To convert from coordinates to grid square there is a tute in the Ed Depot under References I think.

The problem of convering one to the other in-game has been solved, but I can't remember where the script is.   Anybody know?
Plenty of reviewed ArmA missions for you to play

_Ross_

  • Guest
Re:See where a person is on the map?
« Reply #3 on: 13 Aug 2003, 22:53:22 »
or, use a marker

markername = marker1
soldier = dude

#find
marker1 setmarkerpos getpos dude
~3
goto "find"

i think thats the right syntax...
 

Captain Winters

  • Guest
Re:See where a person is on the map?
« Reply #4 on: 14 Aug 2003, 04:22:51 »
Yes, but wit hthe '~3' itll jump around the map

try ~0.1 instead of ~3

Tanks!  8)