foxykid09 10 Posted March 1, 2014 Hi there,i've been searching everywhere for a script or something that lets me attach a light bar to the roof of a SUV or something? Need desperate help for this as it is for my mission (obviously) Cheers Share this post Link to post Share on other sites
cobra4v320 27 Posted March 1, 2014 this animate ["HidePolice", 0]; Share this post Link to post Share on other sites
cobra4v320 27 Posted March 1, 2014 Works on the offroad civ truck. Share this post Link to post Share on other sites
foxykid09 10 Posted March 1, 2014 It doesn't work for me Share this post Link to post Share on other sites
cobra4v320 27 Posted March 1, 2014 Name the vehicle truck. In your init.sqf put: truck animate ["HidePolice", 0]; It would be better to make an sqf file. Share this post Link to post Share on other sites
foxykid09 10 Posted March 1, 2014 It's so weird nothing just seems to work like the lightbar doesn't even show up? Share this post Link to post Share on other sites
cobra4v320 27 Posted March 1, 2014 (edited) Doesnt work when you put it in the init of the truck. In your init.sqf file or in the trucks init line: [yourtruckname] execVM "lightBar.sqf" lightBar.sqf _truck= _this select 0; _truck animate ["HidePolice", 0]; _truck addAction ["<t color=""#001eff"">" + "Strobes On" ,{(_this select 0) animate ["BeaconsStart",1]},[],50,false,true,"","_target animationPhase 'BeaconsStart' < 0.5 && Alive(_target) && driver _target == _this"]; _truck addAction ["<t color=""#001eff"">" + "Strobes Off" ,{(_this select 0) animate ["BeaconsStart",0]},[],51,false,true,"","_target animationPhase 'BeaconsStart' > 0.5 && Alive(_target) && driver _target == _this"]; _truck addAction ["<t color=""#001eff"">" + "Siren On" , {(_this select 0) say3d "alarmCar"}, [], 52, false, true, "", "driver _target == _this"]; Edited March 1, 2014 by cobra4v320 Share this post Link to post Share on other sites
Sylensis 10 Posted April 10, 2014 lightBar.sqf _truck= _this select 0; _truck animate ["HidePolice", 0]; _truck addAction ["<t color=""#001eff"">" + "Strobes On" ,{(_this select 0) animate ["BeaconsStart",1]},[],50,false,true,"","_target animationPhase 'BeaconsStart' < 0.5 && Alive(_target) && driver _target == _this"]; _truck addAction ["<t color=""#001eff"">" + "Strobes Off" ,{(_this select 0) animate ["BeaconsStart",0]},[],51,false,true,"","_target animationPhase 'BeaconsStart' > 0.5 && Alive(_target) && driver _target == _this"]; _truck addAction ["<t color=""#001eff"">" + "Siren On" , {(_this select 0) say3d "alarmCar"}, [], 52, false, true, "", "driver _target == _this"]; Thanks a lot! I searched several days on how to enable this flashing animation. :D Do you know where I can find / modify the blinking animation of the lightbar? like the pattern, colour etc? Arent these some kind of different setObjectTexture-commands on the hiddenselections of the lightbar? Share this post Link to post Share on other sites
maxl30 81 Posted April 28, 2016 All variants doesn't work for me :/ Share this post Link to post Share on other sites