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 Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Setmarkerpos to my object position
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Setmarkerpos to my object position (Read 2435 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
»
Logged
icarus_uk
Members
LiarLiarPants Inflame True
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.
Logged
ofp..hahha
Guest
Re:Setmarkerpos to my object position and Camcreate In Multilplayer
«
Reply #2 on:
11 Sep 2002, 03:49:34 »
and no for some reason icarus it just doesnt want to get the position of the object
Logged
icarus_uk
Members
LiarLiarPants Inflame True
Re:Setmarkerpos to my object position and Camcreate In Multilplayer
«
Reply #3 on:
11 Sep 2002, 04:03:01 »
Thats because the correct command is SetMarkerPos to move a marker.
Logged
ofp..hahha
Guest
Re:Setmarkerpos to my object position and Camcreate In Multilplayer
«
Reply #4 on:
11 Sep 2002, 04:29:30 »
Well thats what i used
Logged
icarus_uk
Members
LiarLiarPants Inflame True
Re:Setmarkerpos to my object position and Camcreate In Multilplayer
«
Reply #5 on:
11 Sep 2002, 12:21:37 »
You used;
"
marker1
" setmarkerpos (getpos
myobjectname
)
?
Assuming you have an object named
myobjectname
and a marker named
marker1
, then it
will
work.
Logged
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"
Logged
ofp..hahha
Guest
Re:Setmarkerpos to my object position
«
Reply #7 on:
12 Sep 2002, 03:39:54 »
I got it man
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Setmarkerpos to my object position
Top of page