Author Topic: Opening a Door on Sangin [help!]  (Read 5932 times)

1LT (Ret) Ryan

  • 11A Infantry Officer
  • Retired
  • Posts: 374
Opening a Door on Sangin [help!]
« on: January 02, 2015, 09:16:10 PM »
There is this one particular door on Sangin that is closed on mission start and I am trying to either get it to open at the beginning of the mission or open on a trigger.

I'd prefer the trigger to work.

It's on the map Sangin that is ported, and the object ID of the "House" that the door is in is 19994.

This is what I tried, but it is not working. Any ideas?

J. RYAN
1LT, USA
Retired


SSG (Ret) McKelvie

  • 11C Indirect Fire Infantryman
  • Retired
  • Posts: 173
Re: Opening a Door on Sangin [help!]
« Reply #1 on: January 02, 2015, 10:06:14 PM »
Try this in a game logic.
0 = [getpos this,300] spawn {
   sleep 1;
   {
      private "_b";
      _b = _x;
      for "_i" from 0 to 7 do {
         _b animate ["dvere" + str _i,1]
      };
   } foreach ((_this select 0) nearobjects (_this select 1))
The 300 number is the distance it closes doors in a radius.

If that fails I believe there is a module in a3 that can do the same thing.
M. MCKELVIE
SSG, USA
Retired


1LT (Ret) Ryan

  • 11A Infantry Officer
  • Retired
  • Posts: 374
Re: Opening a Door on Sangin [help!]
« Reply #2 on: January 02, 2015, 10:16:59 PM »
I forgot to mention the A3 module does not work with it for whatever reason. I'll give that a try here in a bit.
J. RYAN
1LT, USA
Retired