y0014984/Advanced-Equipment

Add mechanism to determine for all assets if they are initialized by all modules

Opened this issue · 0 comments

Zeus functions use this workaround to see, if the asset is initialized completely. This does not work for desk, because this is no power asset. We need a mechanism that checks if an asset is initialized by all modules, no matter which modules are responsible for the current asset.

As a workaround we currently set this variable in the initDesk function.

waitUntil { !isNil { _entity getVariable "AE3_power_hasInternal" }; };