y0014984 / Advanced-Equipment

Advanced Equipment is a Arma 3 mod, that brings equipment to life, like laptops and lamps.
Other
23 stars 9 forks source link

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

Open y0014984 opened 1 year ago

y0014984 commented 1 year ago

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" }; };