Forged Alliance Forever Forged Alliance Forever Forums 2012-07-20T00:16:39+02:00 /feed.php?f=2&t=1552 2012-07-20T00:16:39+02:00 2012-07-20T00:16:39+02:00 /viewtopic.php?t=1552&p=16083#p16083 <![CDATA[Re: GiveStorage Function]]>
Try them both together though

ArmyBrain:GiveStorage('ENERGY', 10000)
ArmyBrain:GiveStorage('MASS', 10000)

and only the second function call will remain in effect. Throw in a WaitSeconds(5) in between the calls and you'll see that the second call replaces the first. I get a +10000 energy storage boost, but as soon as the second call is made, I lose the energy storage boost and I get a +10000 mass storage boost instead.

So as best I can tell, I can have a mass storage boost or an energy storage boost but not both. :(

By the way, I already came up with my workaround. I created a custom unit with the mass and energy storage values that I needed and spawned it off the map where, hopefully, it will not be seen or disturbed.

Statistics: Posted by Duck_42 — 20 Jul 2012, 00:16


]]>
2012-07-19T16:55:26+02:00 2012-07-19T16:55:26+02:00 /viewtopic.php?t=1552&p=16053#p16053 <![CDATA[Re: GiveStorage Function]]> Statistics: Posted by FunkOff — 19 Jul 2012, 16:55


]]>
2012-07-19T04:00:49+02:00 2012-07-19T04:00:49+02:00 /viewtopic.php?t=1552&p=16015#p16015 <![CDATA[GiveStorage Function]]>

Statistics: Posted by Duck_42 — 19 Jul 2012, 04:00


]]>