Forum Jump :

Author Message


Posts: 28
Rank:


Level: Member

Country: us
Location: Covington, Georgia
Occupation: Disabled Veteran/X-Ray Tech / UNIX Engineer /
Age: 47
In-game name: Echo5Hotel

 
#1 Posted at 2015-08-25 22:40        
     
Hello,

I have been trying to work a problem with getting doors that are open on the FSF N'Ziwasogo to be closed at the beginning of the mission. It seems all the doors to buildings on the map start in the open position. I have tried many iterations of door closing scripts that I know worked in ARMA 2 and I have tried to use the door open/close module. I am hoping someone may be able to help. The doors should be able to close I think since a player can actively open and close them. The script I was trying to use to make it happen is as follows:

0 = [getpos doorcloser,1000] spawn {  sleep 1;  {  private "_b";  _b = _x;  for "_i" from 0 to 7 do {  _b animate ["door_" + str _i + "_rot",0]  };  } foreach ((_this select 0) nearobjects (_this select 1))  }

I know this script (placed in an on activation block of a trigger named doorcloser) works for opening and closing doors on Altis but so far does not do anything for me on the FSF N'Ziwasogo map. So it would appear to me that the problem is something to do with the map, not necessarily the script so I was hoping someone with some insight to the map might be able to help me. Thank you for any help someone might be able to provide me with.

Echo5Hotel
Jim Hunsinger
Team Blackjack - We like to make things burn, blow up and bleed.