Home   Help Search Login Register  

Author Topic: M113med  (Read 1107 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)?