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
) »
Need some help with setPos
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Need some help with setPos (Read 926 times)
0 Members and 1 Guest are viewing this topic.
Wildebeest
Contributing Member
The time the wildebeest ruled the Earth.
Need some help with setPos
«
on:
16 Oct 2002, 23:21:57 »
Hi, does anyone know how to make an object "teleport" to the position of another object? I know how to teleport something to a specified pos on the map, but not to another object. Plz help me yall... thx
«
Last Edit: 16 Oct 2002, 23:33:10 by Wildebeest
»
Logged
Weeee...
Kaliyuga
Guest
Re:Need some help with setPos
«
Reply #1 on:
17 Oct 2002, 00:52:06 »
just use this syntax...
this setpos [getpos
objectname
select 0, getpos
objectname
select 1,0]
objectname
is the name you designate in the editor for that unit
Logged
Sui
Former Staff
Re:Need some help with setPos
«
Reply #2 on:
17 Oct 2002, 00:52:46 »
Try:
object1
setpos (getpos
object2
)
Logged
Wildebeest
Contributing Member
The time the wildebeest ruled the Earth.
Re:Need some help with setPos
«
Reply #3 on:
17 Oct 2002, 11:49:07 »
Wow it works! Thx for the spells guys :wave:
Logged
Weeee...
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
) »
Need some help with setPos
Top of page