Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: setpos west and in air  (Read 1140 times)

0 Members and 1 Guest are viewing this topic.

Offline schuler

  • Contributing Member
  • **
setpos west and in air
« 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:
Semper Fi

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: setpos west and in air
« Reply #1 on: 04 Nov 2007, 12:35:48 »
4 metres West and 2 meters North of hb, but 25 m above the ground (not necessarily 25m above hb):
Code: [Select]
thingo setpos [(getpos hb select 0) -4, (getpos hb select 1) + 2, 25];
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline schuler

  • Contributing Member
  • **
Re: setpos west and in air
« Reply #2 on: 04 Nov 2007, 12:40:38 »
thanks Spooner, thats what i wanted!   i forgot the north part in there
               cheers schuler  ;)
Semper Fi