Sylensis 10 Posted March 29, 2014 Hey guys, I was wondering how to script the lightbar to animate the lights like in the beginning of this video: There are 2 ways of doing so: 1. placing some lightsources and tweak them so they light up the environment 2. animating the lightbar textures (like the navigation lights on the hummingbird) http://i.imgur.com/GJu4NVK.jpg (171 kB) So my question now is: How do I animate (flashing) the textures as seen on the screenshot and the video with the 2nd method? Thanks a bunch! Share this post Link to post Share on other sites
Sylensis 10 Posted April 11, 2014 Okay, I discovered a way how to enable the light on the Offroad with this code: _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"]; Thanks to cobra4v320 for posting the code here! So, how do I edit this animation now? Where is it located? I didn't find anything, neither in the offroad's config nor in the animation PBO's. Does anybody know where the flashingscript is located? Share this post Link to post Share on other sites
Sylensis 10 Posted April 22, 2014 *push* Any ideas? Share this post Link to post Share on other sites