how to unset LuaConstantCombinatorControlBehavior signal?
Posted: Sun Oct 18, 2020 3:27 pm
How do I unset constant combinator signal? I tried using LuaConstantCombinatorControlBehavior.set_signal like this:
None of the above work, they all throw errors. Is there other way to do this? One way to clear all signals would be to remove the combinator and place a new one in the same place, but that seems like an overkill to me.
Code: Select all
behavior.set_signal(n, nil)
behavior.set_signal(n, {})
behavior.set_signal(n, {type="item"})
behavior.set_signal(n, {type="item", name=""})