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: Car mechanic script  (Read 712 times)

0 Members and 1 Guest are viewing this topic.

Ace Productions

  • Guest
Car mechanic script
« on: 27 May 2004, 12:07:57 »
Hello again,

I'm preparing a script that will add a vehicle mechanic in a group of units. The player will be able to order him to fix any vehicle found in his way.

My problem is that I'm using the "repair" animation found in the Unified Animations pack, but I can't get the guy to get under the vehicle. With some trigonometry I managed to get the guy to move infront of the vehicles nomatter where he or the vehicle are.

Can someone please help?  ::)

Unified Animations pack: http://www.ofpbase.com/modules.php?name=News&file=article&sid=1268
 

Offline Blanco

  • Former Staff
  • ****
Re:Car mechanic script
« Reply #1 on: 27 May 2004, 20:01:42 »
yeah, I recogniseyour problem.

Maybe setpossing the mecanic first and then the car on top could help, ...but i don't think...

I tried the same thing when I updated my repairscript with the unified animpack

Search or search or search before you ask.