Forged Alliance Forever Forged Alliance Forever Forums 2017-11-08T21:11:52+02:00 /feed.php?f=41&t=15403 2017-11-08T21:11:52+02:00 2017-11-08T21:11:52+02:00 /viewtopic.php?t=15403&p=156110#p156110 <![CDATA[Re: Is there a way to access current mass stored in UI ?]]> Statistics: Posted by Franck83 — 08 Nov 2017, 21:11


]]>
2017-11-08T21:02:24+02:00 2017-11-08T21:02:24+02:00 /viewtopic.php?t=15403&p=156108#p156108 <![CDATA[Re: Is there a way to access current mass stored in UI ?]]>
Code:
local econData = GetEconomyTotals()
LOG(repr(econData))

Code:
INFO: {
INFO:   income={ ENERGY=2, MASS=0.10000000149012 },
INFO:   lastUseActual={ ENERGY=0, MASS=0 },
INFO:   lastUseRequested={ ENERGY=0, MASS=0 },
INFO:   maxStorage={ ENERGY=4000, MASS=650 },
INFO:   reclaimed={ ENERGY=0, MASS=0 },
INFO:   stored={ ENERGY=4000, MASS=650 }
INFO: }

Statistics: Posted by Uveso — 08 Nov 2017, 21:02


]]>
2017-11-08T20:14:22+02:00 2017-11-08T20:14:22+02:00 /viewtopic.php?t=15403&p=156104#p156104 <![CDATA[Is there a way to access current mass stored in UI ?]]>
But GetEconomyStored function is a sim only function.

Is there an equivalent (not found it) in UI ?

Otherwise somebody got an idea how can i get it in ui ?

Statistics: Posted by Franck83 — 08 Nov 2017, 20:14


]]>