Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
See where a person is on the map?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: See where a person is on the map? (Read 628 times)
0 Members and 1 Guest are viewing this topic.
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.
Logged
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.
Logged
macguba
Former Staff
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?
Logged
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...
Logged
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!
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
See where a person is on the map?
Top of page