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: rearm problem...  (Read 673 times)

0 Members and 1 Guest are viewing this topic.

gundernak

  • Guest
rearm problem...
« on: 04 Feb 2004, 20:38:43 »
Hi all,

I have a chopper UH64-MG.

I added the rocket weapon this can carry (ZuniLauncher38)

init field: this addMagazine "ZuniLauncher38"; this addWeapon  "ZuniLauncher38"

I would like to start this chopper without ammo. And it has to rearm at an ammotruck.

If I set the ammo level in the editor, the chopper starts without machinegun ammo and with rockets.

If I do not add magazines to the chopper, it can not rearm rockets at the ammo truck.

If I add magazines in init field and I fire all the rockets, the copper CAN rearm at the truck.

 ???

Any suggestions??

thanks in advance

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:rearm problem...
« Reply #1 on: 04 Feb 2004, 21:32:20 »
how about
this addMagazine "ZuniLauncher38"; this addWeapon  "ZuniLauncher38"; this removemagazine "ZuniLauncher38"
 ???
otherwise you can make a clever little trigger to the rearming place which adds a magazine of zunis when the chopper is in the trigger area  :P
Not all is lost.

gundernak

  • Guest
Re:rearm problem...
« Reply #2 on: 04 Feb 2004, 22:07:11 »
unfortunately I tryed this too.

the chopper can not rearm...

gundernak

  • Guest
Re:rearm problem...
« Reply #3 on: 06 Feb 2004, 18:41:12 »
Can I change the load of a weapon?

I mean I want a unit with only a few bullet in his magazine...