ok, so this is the deal
init.sqs:
evac setVehicleArmor 0.1
~100
evac setVehicleArmor 0.2
~100
evac setVehicleArmor 0.3
~100
evac setVehicleArmor 0.4
~100
evac setVehicleArmor 0.5
~100
evac setVehicleArmor 0.6
~100
evac setVehicleArmor 0.7
~100
evac setVehicleArmor 0.8
~100
evac setVehicleArmor 0.9
~100
evac setVehicleArmor 1
~100
evac setFuel .1
~100
evac setFuel .2
~100
evac setFuel .3
~100
evac setFuel .4
~100
evac setFuel .5
exit
Now, "evac" is the chopper name.
Basically, I think there is a better way to go about this. I have tried stuff like
repair = (1 - getDammage evac) <- in a loop that updates every 10sec
evac setVehicleArmor (repair +.1) <- small increments every 30sec
I am not sure if that exact code causes an error but I remember it was something close to that and did not cause any errors.
It is hard for me to understand this since I am dealing with a dbl negative.... getDammage returns 1 when vehicle is destroyed, or something like that, so I try to counter it with adding/subtracting it.... I am really just all sorts of confused in the head... lol