Jump to content
Xplorer4x4

Keep Tow Truck Lights On

Recommended Posts

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);
}

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...