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: Call helo to pick you up  (Read 793 times)

0 Members and 1 Guest are viewing this topic.

Bulletsfire

  • Guest
Call helo to pick you up
« on: 18 Oct 2003, 11:13:57 »
is there a script to do this?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Call helo to pick you up
« Reply #1 on: 18 Oct 2003, 11:34:38 »
Don't think so, but it shouldn't be hard to make yourself.

:beat: *Gets Shot* :beat:

Bulletsfire

  • Guest
Re:Call helo to pick you up
« Reply #2 on: 18 Oct 2003, 19:48:26 »
well im not a script editor so ha i  cant!, probally could, but i dont understand diddly squat about that whole setpos getpos thingy so yea
« Last Edit: 18 Oct 2003, 19:52:14 by Bulletsfire »

Knut Erik

  • Guest
Re:Call helo to pick you up
« Reply #3 on: 18 Oct 2003, 20:18:20 »
Hm.. A pickup script..
Should be something like this...


;PICKUP SCRIPT
;-By Knut Erik


_Unit = _this select 0
_Chopper = _this select 1
_MovePos = _this select 2

#MoveLoop
_Chopper move getPos _Unit
~5
?_Chopper distance _unit > 100 :goto MoveLoop

_Chopper sideChat "Okay, we're allmost with you. Just stay where you are"
_Chopper move getPos _Unit
@UnitReady _Chopper
_Chopper Land "GetIn"
@_Unit in _Chopper
_Unit sideChat "Okay, I'm in.. You can move out now, over!"
~2
_Chopper sideChat "Roger that. Moving out, out"
_chopper move getPos _movePos
@UnitReady _chopper
_Chopper land "Land"

Syntax:
[NameOfUnit, NameOfChopper, NameOfGLthatTheChopperShallMoveTo] exec "Pickup.sqs"

Not sure about this, but give it a go and tell me if it works  ;)

Cheers :cheers:


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Call helo to pick you up
« Reply #4 on: 19 Oct 2003, 00:38:06 »
actualy deres som scripts 4 dat (if im not wrong) i sugest skumballs 1

http://www.ofpec.com/editors/resource_view.php?id=309

:cheers:

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta