Jump to content
Michael Jones

How to manually activate a railroad crossing gate or similar?

Recommended Posts

I am building a military base in the Los Angeles Mod. For the entrance, i was hoping to like install a railroad crossing gate or something that swings up and down like that. Is it possible to do that? Is there a script to where it would automatically open when a vehicle approached it and then closed again. I currently have a railroad crossing gate that is closed across the entrance but police cars and other vehicles are driving right through it.

Any help would be greatly appreciated!

Link to comment
Share on other sites

step by step:

- place the gate (has to be the one with the animation)

- select it on the map and klick on "properties" in the task bar

- name it: "gate_1"

- place a trigger over the gate, and some of the street to both directions

- select "Vehicles Squad"

- name the trigger: "gate_1" -> gate and trigger have to have the same name!!

it should look like this:

gatea.gif

aaaand... that should work!

once a squad vehicle activates the trigger, the gate will open, and close again after the vehicle has passed and left the trigger.

greetz

rett

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