Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ace_interact_menu_fnc_removeActionFromClass issue #5009

Closed
rebelvg opened this issue Mar 19, 2017 · 1 comment · Fixed by #8396
Closed

ace_interact_menu_fnc_removeActionFromClass issue #5009

rebelvg opened this issue Mar 19, 2017 · 1 comment · Fixed by #8396
Milestone

Comments

@rebelvg
Copy link
Contributor

rebelvg commented Mar 19, 2017

Arma 3 Version: 1.68 (stable)
CBA Version: 3.2.1 (stable)
ACE3 Version: 3.9.1 (rc1)

Mods:

- CBA_A3
- ace

Description:

  • The command doesn't delete action from the unit.

Steps to reproduce:

  • Add this code into your mission.
_action = ["custom_action", "TEST ACTION", "", {systemChat "test action";}, {true}] call ace_interact_menu_fnc_createAction;
["CAManBase", 1, ["ACE_SelfActions"], _action, true] call ace_interact_menu_fnc_addActionToClass;

["CAManBase", 1, ["ACE_SelfActions", "custom_action"]] call ace_interact_menu_fnc_removeActionFromClass;

only this one works
[typeOf player, 1, ["ACE_SelfActions", "custom_action"]] call ace_interact_menu_fnc_removeActionFromClass;

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual Arsenal

Placed Modules:

  • None.

RPT log file:

  • N/A.
@PabstMirror
Copy link
Contributor

removeActionFromClass doesn't support inheritance (for something like "CaManBase")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants