Hi! Is there a way to send events for all devices inside an array?
Example: I want to enable all switch devices in the “Switches” array.
@editable Switches : []switch_device = array{}
@editable EnableTrigger : trigger_device = trigger_device{}
# Runs when the device is started in a running game
OnBegin<override>()<suspends>:void=
EnableTrigger.TriggeredEvent.Subscribe(EnableSwitch)
EnableSwitch(Agent:?agent):void=
(I want to enable all switches here)