Xplorer4x4 Posted June 30, 2010 Report Share Posted June 30, 2010 I know a very long time ago Hoppah posted a way to keep the tow truck lights on while towing a car but i cant find it or figure it out. I looked at the gohome script but dont see anything relevant. Any ideas? Quote Link to comment Share on other sites More sharing options...
swatlord Posted July 4, 2010 Report Share Posted July 4, 2010 i'm not a scripter, but wouldn't you be able to compare the tow truck's gohome scripts to an ambulances gohome scripts? The ambulance is really the ony one that keeps it's lights and siren going when ordered home (well, the hospital) Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted July 4, 2010 Author Report Share Posted July 4, 2010 Not a bad idea but couldnt find anything useful.I tried adding this in gohome.script but it doesnt work.if (v.GetVehicleType() == VT_FIREFIGHTERS_ASF || StrCompare(v.GetPrototypeFileName(), "mod:Prototypes/Vehicles/01 LA Tec/tow_truck.E4P") == 0) { v.EnableBlueLights(true); } Quote Link to comment Share on other sites More sharing options...
Guest miked9372 Posted July 4, 2010 Report Share Posted July 4, 2010 click on the truck and press ctrl b or shift b i dont know what one it is Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted July 4, 2010 Author Report Share Posted July 4, 2010 Your missing the point...I am trying to script this. Quote Link to comment Share on other sites More sharing options...
Guest miked9372 Posted July 4, 2010 Report Share Posted July 4, 2010 hmmm let me look into it later if you cant figure it out Quote Link to comment Share on other sites More sharing options...
quasar3210 Posted July 4, 2010 Report Share Posted July 4, 2010 Could you make it work like the Mass Casualty Unit. I am almost positive when you load it up with patients and it returns to HQ, it leaves with lights and sirens on, then just goes off map. I'm just wondering if something differs because its tied into the return to HQ command like the Tow truck has. VS the regular ambulances going to the hospital. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted July 5, 2010 Author Report Share Posted July 5, 2010 I looked in to it briefly yesterday , but the code for the MCU might just work. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted July 26, 2010 Author Report Share Posted July 26, 2010 Still no luck, current code is:if (v.GetVehicleType() == VT_FIREFIGHTERS_ASF || StrCompare(v.GetPrototypeFileName(), "mod:Prototypes/Vehicles/04 LA Tec/tow_truck.e4p") == 0) { v.EnableBlueLights(true); } if (v.GetVehicleType() == VT_FIREFIGHTERS_ASF || StrCompare(v.GetPrototypeFileName(), "mod:Prototypes/Vehicles/04 LA Tec/tow_truck2.e4p") == 0) { v.EnableBlueLights(true); }Full script:http://pastebin.com/2cp6GxYw Quote Link to comment Share on other sites More sharing options...