Hi,
- This script will NOT repair your vehicle completely.
- When your car cant move anymore (checked with canmove command) the player got two options via addaction :
"Grab your tools & repair"&
"Get out"When you choose the first option the driver disembark automaticly and starts repairing his vehicle until it's driveable again. This does not mean your car's dammage is 0 at the end,
actualy it's more a "change-a-flat-tire" simulation
When you choose "Get out" you're free to enter another vehicle, the script will follow you and check the new vehicle, but you can always enter the dammaged car again and repair it.
How to use :
- Simply copy the repair-folder in the testmission in your own mission folder + the init.sqs. There's no need to name cars.
Bugs:
Yes, I found two , but they will be solved in the next version.
- When your car is turned upside down, the repairing doesn't stop. I solve this simply with a new action "Quit repairing"
- The script checks EVERY vehicle you enter, also vehicles without wheels... but I need a trigger to fix that( (I think)...something with "car" counttype list triggername == 1
I still don't have webspace :'( and attaching it here doesn't work either...
I uploaded the testmission in my Yahoo! briefcase :
http://au.f2.pg.briefcase.yahoo.com/To access the files you need a PW & ID
ID : ftielemans
PW : dey8p7
It's in the folder NEW
Zip is called repair.Abel.zip (2kb) No addons needed.
Please reply 4 suggestions or other bugs