OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ofp..hahha on 11 Sep 2002, 01:23:50
-
ok guys i have been beeing dumb lately and cant figure out how to make a marker just get the position of and object heres all i want
marker1 setpos getpos myobjectname
-
Oddly enough, marker names have to be "" arouns them.
"marker1" setpos getpos myobjectname
Is what you are looking for.
-
and no for some reason icarus it just doesnt want to get the position of the object
-
Thats because the correct command is SetMarkerPos to move a marker.
-
Well thats what i used
-
You used;
"marker1" setmarkerpos (getpos myobjectname)
?
Assuming you have an object named myobjectname and a marker named marker1, then it will work.
-
do you mean this?
_Coords = GetMarkerPos "Marker1"
-
I got it man