tylerturton 10 Posted August 26, 2013 I was wondering, when I open a door on my island life server, the "open door" still stays there yet the door is open. This is the code for the frontdoor: if ((_house == "frontdoor") and (player distance _housename <= 10)) then { _housename animate ["FrontDoor",1]; [_housename, 'FrontDoor_AP', 'MBG_B3_OpenDoor',4,(_this)] execvm 'MBG_Buildings_3\MPSound.sqf'; }; if ((_house == "cfrontdoor") and (player distance _housename <= 10)) then { _housename animate ["FrontDoor",0]; [_housename, 'FrontDoor_AP', 'MBG_B3_OpenDoor',4,(_this)] execvm 'MBG_Buildings_3\MPSound.sqf'; }; "cfrontdoor" is obviously close front door. I just want it to remove the action once the door is open and only leave me with the close door action until the door is closed again, then remove the close door action. Share this post Link to post Share on other sites
tylerturton 10 Posted August 29, 2013 Well, I don't know if I can bump this since it's 3 days old, but bump. Share this post Link to post Share on other sites
MadM0nkey 1 Posted September 2, 2013 (edited) Well, I don't know if I can bump this since it's 3 days old, but bump. still somewhat new to this kinda stuff as far as making my own code I usually just copy & edit someone else's example if its close to what I am trying to achieve & Since no one has answered you I will try.. the condition cfrontdoor = = "done" OnAct unit removeAction index Parameters: unit: Object unit, vehicle or static object read here: http://community.bistudio.com/wiki/removeAction you may want to try and post this kinda question over in arma 3 section as most of the syntax guru helpers are probably active there now. Edited September 2, 2013 by MadM0nkey Share this post Link to post Share on other sites