Jump to content
Sign in to follow this  
Masja

AI using blue lights beacons on fire trucks and police cars in Global Mobilization DLC

Recommended Posts

Hello,

 

I have a question on how to make AI drivers turn on the blue lights on their 80's police cars and fire trucks in the Global Mobilization DLC. I have tried the below scripts:

 

For the Police Offroad

this animate ["BeaconsStart", 1]; 

 

For the Police, and Ambulance Vans

this animateSource ['lights_em_hide',1];

 

 

To turn on siren for Offroads, and Vans

 

Turn siren on

[this,'CustomSoundController1',1,0.2] remoteExec ['BIS_fnc_setCustomSoundController'];

 

Turn siren off

[this,'CustomSoundController1',0,0.4] remoteExec ['BIS_fnc_setCustomSoundController'];

 

The Siren does work well, but no matter which of the light scripts I use, it does not turn on. Any help would be very appreciated.

Share this post


Link to post
Share on other sites

I had the same problem so I searched the code and found that the script for the sirens remains the same and the one for the beacons is below

 

To turn beacons on

[this,'gm_beacons_blu',true] call gm_core_vehicles_fnc_beaconSwitch;
 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×