Turn off all loads in a zone.

asked 2019-01-14 10:27:31 -0500

wassup_doc gravatar image

Does anyone know of an easy way to turn off (set status to off) all loads within a particular zone?

I imagine I could use some combination of the bsys subsystem definition, and the subsystem retrieval functions ( aloadint(), aloadchar(), etc... ) to retrieve all the bus numbers and IDs within a particular zone, and then loop over those results using loadchange4() to set each one's status to off...

Is there an easier way? I'm thinking of some parallel to scal_2()... if only that function had the ability to set the status flag...

edit retag flag offensive close merge delete