Guest e34p Posted May 24, 2019 Report Share Posted May 24, 2019 Hi all, I'm trying to edit the LA mod Fire Station script so that I can control individual gates manually from the control panel. Is it possible to create a separate script just for the station gates that I can assign to the control panel? My aim is to have the control panel have an number of commands assigned to it that open/close the gates independently. Quote Link to comment Share on other sites More sharing options...
itchboy Posted May 24, 2019 Report Share Posted May 24, 2019 I have a different method in mind for your idea. I would assign an "open gate" command to every vehicle in the station. Pressing that command will open/close the gate for that specific vehicle. Quote Link to comment Share on other sites More sharing options...
Guest e34p Posted May 24, 2019 Report Share Posted May 24, 2019 Thanks, do you have a script for this? Quote Link to comment Share on other sites More sharing options...
itchboy Posted May 25, 2019 Report Share Posted May 25, 2019 I checked my copy, here's a picture. It is a re-tooling of the existing LA mod gate script, specifically the portion made for the battalion chief commands. http://www.emergency-planet.com/uploads/monthly_2019_05/Untitled.png.673720967e7ad9e100aa3624f46513e0.png Quote Link to comment Share on other sites More sharing options...
Guest e34p Posted May 25, 2019 Report Share Posted May 25, 2019 Thanks! Although I'm just looking for a really simple script. One that is assigned to the control panel (or any other vehicle) that makes the gate do the open and close animation. It doesn't need to create a barricade when it is closed or anything, its purely just for controlling the animation. Is this possible? Quote Link to comment Share on other sites More sharing options...
itchboy Posted May 25, 2019 Report Share Posted May 25, 2019 Yes, do the above, except remove the lines relating to the virtual object. If this is purely visual, then you can just set it up as the above. Doesnt even need the sound line either. As long as you have it set up that the specific gate is linked to a specific vehicle, it should work. Quote Link to comment Share on other sites More sharing options...
Guest e34p Posted May 25, 2019 Report Share Posted May 25, 2019 Ok great, but how do I put this into a new script that doesnt use the LA mod one? Quote Link to comment Share on other sites More sharing options...
itchboy Posted May 25, 2019 Report Share Posted May 25, 2019 Do you know how to script, or at the very least, make a new one? All you need is to copy paste an existing script, and clear out all the content in the checkPossible, checkTarget and PushActions sections. Just dont delete the headings. I'll send over the partial code for this logic. Hopefully you can figure this out. Quote Link to comment Share on other sites More sharing options...
Guest e34p Posted May 25, 2019 Report Share Posted May 25, 2019 I've sent you a PM Quote Link to comment Share on other sites More sharing options...