Home   Help Search Login Register  

Author Topic: Setmarkerpos to my object position  (Read 2434 times)

0 Members and 1 Guest are viewing this topic.

ofp..hahha

  • Guest
Setmarkerpos to my object position
« 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
« Last Edit: 12 Sep 2002, 01:20:24 by NAA Us Marine »

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Setmarkerpos to my object position
« Reply #1 on: 11 Sep 2002, 01:24:37 »
Oddly enough, marker names have to be "" arouns them.

"marker1" setpos getpos myobjectname

Is what you are looking for.

ofp..hahha

  • Guest
and no for some reason icarus it just doesnt want to get the position of the object

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Thats because the correct command is SetMarkerPos to move a marker.

ofp..hahha

  • Guest
Well thats what i used

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
You used;

"marker1" setmarkerpos (getpos myobjectname)

?

Assuming you have an object named myobjectname and a marker named marker1, then it will work.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Setmarkerpos to my object position
« Reply #6 on: 12 Sep 2002, 02:48:01 »
do you mean this?

_Coords = GetMarkerPos "Marker1"

ofp..hahha

  • Guest
Re:Setmarkerpos to my object position
« Reply #7 on: 12 Sep 2002, 03:39:54 »
I got it man