skoyv Posted August 2, 2010 Share Posted August 2, 2010 Hi. i`m making a mod where i need to use one activator(either a button or a terminal) to open two doors . i`we manage to link it to one of them but not booth. plz help!!! Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted August 3, 2010 Share Posted August 3, 2010 How about setting the working door as the activate parent of the nonworking door? Link to comment Share on other sites More sharing options...
BadPenney Posted August 3, 2010 Share Posted August 3, 2010 It should work with a simple object script placed on the switch like: scn 2doorSwitch Begin OnActivate Activate Door1.Activate Door2.Activate End Door1 and Door2 would need to be renamed to the reference ID of each door. That should allow the switch to toggle the doors open and closed. If you only want it to work once then add a DoOnce function. Or yeah, Q's idea. Hmm... when did codebox text get so dark? Link to comment Share on other sites More sharing options...
ub3rman123 Posted August 3, 2010 Share Posted August 3, 2010 I think that was when the forums got upgraded. It's kind of annoying having to highlight it. If you wanted to be sure it'd work, you could use playgroup forward 1 and playsound to get it to open anyways. Link to comment Share on other sites More sharing options...
SupermassiveBlackHole Posted August 3, 2010 Share Posted August 3, 2010 Hi, You could apply a script to the activator that would read something like this: Begin OnActivate Activate <ref of first door>.setopenstate <open state 1,2,3 or 4><ref of second door>.setopenstate <open state 1,2,3 or 4>end Link to comment Share on other sites More sharing options...
skoyv Posted August 3, 2010 Author Share Posted August 3, 2010 How about setting the working door as the activate parent of the nonworking door?ok yjea it works!!! tnx for the help!!!! Link to comment Share on other sites More sharing options...
Recommended Posts