506th IR Realism Unit
Recruiting => The Duty Desk => Topic started by: 1LT (Ret) Ryan 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?
(http://i116.photobucket.com/albums/o13/PhillyGangsta/helpedit_zpsed129c57.jpg)
-
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.
-
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.