Jump to content
Sign in to follow this  
nevbox

Opening Doors on Pre-existing Items

Recommended Posts

Hi there,

I'm after opening some doors for a mission on items already on the map. Done some googleing and have only found ways to do it with new buildings placed.

My first idea was that an AI could be spawned in and tasked to open the door, I tried a simple move and the AI just walked straight through the door (dome door). I know you can as SL order units to open doors, is it possible to script this?

Cheers for any help.

Nevbox

Share this post


Link to post
Share on other sites

You could utilize this:

https://community.bistudio.com/wiki/Arma_3_Actions#User

You'll have to check if the ai is close enough first, otherwise he is going to open the door with his telekinetic abilities.

Other than that, doors can also be opened directly via script: https://community.bistudio.com/wiki/animate

In order to get a reference to preexisting buildings you can put a gamelogic on the building and use the following command in it: https://community.bistudio.com/wiki/nearestBuilding

Share this post


Link to post
Share on other sites

There is a module that can open/close doors.

Share this post


Link to post
Share on other sites

Found the module, seems the easiest way to do this. Though thank you to the both of you.

Object Modifiers -> Open and Close Doors

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  

×