Buttons
Buttons have their Pressed attribute tag set to true when activated. Their Owner, AssistOwner, and Team attributes are set to the same as whatever pressed the button. This means that buttons can receive owner information from players, NPCs, and bombs that press them.
It’s up to the script interacting with the button to set the Pressed attribute to false so the button can be pressed again. It’s also this script’s responsibility to make use of the Owner, AssistOwner, and Team attributes.
Custom button scripts aren’t currently available in custom map making.