OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: schuler on 04 Nov 2007, 06:03:07
-
to get thingo in the air and to the west on hb, select 0 – 4 “is west” code is-
thingo setpos [(getpos hb select 0) -4, (getpos hb select 1) + 2] ?height?
but in the air 25m too
:scratch:
-
4 metres West and 2 meters North of hb, but 25 m above the ground (not necessarily 25m above hb):
thingo setpos [(getpos hb select 0) -4, (getpos hb select 1) + 2, 25];
-
thanks Spooner, thats what i wanted! i forgot the north part in there
cheers schuler ;)