[Lua Feature] Dynamic Action Blocking/Allowing (similar to movement controls)
Posted: Mon Jul 13, 2026 12:52 am
It would be awesome if we had a way to block and allow specific unit actions.
Of course, still respecting the [actionenabler_*] requirements, but maybe something similar to "movement_disallow()" and "movement_allow()".
Example:
action_disallow(unit, 'User Action 1')
action_allow(unit, 'Bombard 2')
Of course, still respecting the [actionenabler_*] requirements, but maybe something similar to "movement_disallow()" and "movement_allow()".
Example:
action_disallow(unit, 'User Action 1')
action_allow(unit, 'Bombard 2')