oolite-equipment-control.js startUp event handler

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
dybal
---- E L I T E ----
---- E L I T E ----
Posts: 499
Joined: Mon Feb 10, 2020 12:47 pm

oolite-equipment-control.js startUp event handler

Post by dybal »

The OXPs startUpComplete event handlers are being called before the startUp event handler from in oolite-equipment-control.js

Is that expected?

I'm trying to get the worldScripts["Oolite Equipment Control"].$baseline values for shieldRechargeRate in a function called in an OXP startUpComplete but $baseline is still empty...

EDIT: it's not the OXP startUpComplete that's being called, but equipmentAdded event handler - in my code both call the same auxiliar function that tried to get the worldScripts["Oolite Equipment Control"].$baseline values, so I thought if was done in startUpComplete. I will put check conditions to deal with it. Sorry for another false alarm... :roll:
Post Reply