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: M113med  (Read 1711 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
M113med
« on: 29 Jan 2004, 10:57:38 »
I was wondering if there is any way to make a regular M113 into a med M113 by using a script.

I find I have to use green trucks in my desert maps for support because  I dont want too many seperate addons in the map but if desert hummers or M113s could be scripted to heal, repair & rearm that would be very cool.

Thanks


StonedSoldier

  • Guest
Re:M113med
« Reply #1 on: 29 Jan 2004, 11:07:20 »
yo dude,

in the Init field of your unit put;

unitname setRepairCargo 1
#this gives it repair abilities

unitname setAmmoCargo 1
#this gives it rearm abilities

unitname setFuelCargo 1
#this gives it refuel abilities

for all the commands and stuff go here http://www.ofpec.com/editors/comref.php
« Last Edit: 29 Jan 2004, 11:08:51 by StonedSoldier »

pazuzu

  • Guest
Re:M113med
« Reply #2 on: 29 Jan 2004, 11:22:46 »
Thats great....thank you.

What about healing...(giving vehicle healing ability)?