Jump to content
Guest e34p

Gates

Recommended Posts

Guest e34p

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.

Link to comment
Share on other sites

Guest e34p

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

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...