TAXSET 0 Posted September 11, 2023 Hello, I am trying to remove a specific action from a given unit, however, I after 3 hours I still haven't got it to work. I am trying to remove the ACE_ApplyHandcuffs action with this: [ testArrestUnit, 1, ["ACE_MainActions", "ApplyHandcuffs"] ] call ace_interact_menu_fnc_removeActionFromObject; Path to ACE_ApplyHandcuffs action config: configfile >> "CfgVehicles" >> "CAManBase" >> "ACE_Actions" >> "ACE_ApplyHandcuffs" Share this post Link to post Share on other sites
Harzach 2517 Posted September 12, 2023 Check your arguments: * Arguments: * 0: Object the action is assigned to <OBJECT> * 1: Type of action, 0 for actions, 1 for self-actions <NUMBER> * 2: Full path of the action to remove <ARRAY> Your second argument is set to "1' which defines a self-action. You want to define a plain action. Share this post Link to post Share on other sites
TAXSET 0 Posted September 12, 2023 Yeah, I've tried both 0 and 1 pretty much everytime just to make sure, still no luck. My guess is that the the full path of the action is just wrong, but I have no idea what that would look like (there are also no examples in the ACE doc). Share this post Link to post Share on other sites
Harzach 2517 Posted September 12, 2023 Also, it would seem to me that ACE_ApplyHandcuffs is in ACE_Actions, not ACE_MainActions, as shown in the config path you posted. That said, I've been fiddling with this for a while now to no avail. You might want to ask over on the ACE Discord. https://acemod.org/discord Share this post Link to post Share on other sites
TAXSET 0 Posted September 13, 2023 I'll do that, tanks for your help Share this post Link to post Share on other sites