Jump to content
Sign in to follow this  
pogoman979

remove default object actions

Recommended Posts

does anyone know of any way to remove default a2 actions from an object such as a door or a bargate? ie a bargate has the action "open" and "close" which is available to everyone making it relatively useless as its not going to stop anyone if they can simply open it.

Share this post


Link to post
Share on other sites

Are you talking about door/gate that is already in the map and not a placeable addon?

I haven't tried this myself, but here goes nothing... =)

In editor press "Show IDs", check the door/gate ID, then make a game logic and put this to the the init field of the game logic and the door/gate ID number on two places in the code:

IDnumberhere=position this nearestObject samenumberherewithoutID

Then make a trigger with condition true and write this to the activation field

IDnumberhere lock true

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×