Page 1 of 1

Callins MetalReceived & EnergyReceived

Posted: 28 Jul 2010, 23:00
by very_bad_soldier
Are there callins that get called when you get resources donated by your allies? Or is there another nice way to know about when it happens? Interesting to know would be especially which player shared it.
My only idea would be to poll Spring.GetTeamResourceStats() but thats not very nice and would not reveal which player shared it.

Re: Callins MetalReceived & EnergyReceived

Posted: 28 Jul 2010, 23:17
by Tobi
no and no (pretty sure)

Would probably be a useful feature though I don't know how/if the automatic sharing should be included in this too.

Re: Callins MetalReceived & EnergyReceived

Posted: 28 Jul 2010, 23:22
by jK
There is the AllowResourceTransfer LuaRules callin, but it just gets called for user issued sharing.

Re: Callins MetalReceived & EnergyReceived

Posted: 29 Jul 2010, 20:21
by very_bad_soldier
Well, can this be moved to Feature Requests then? I think that would be useful to have.

@jk: yeah I saw that too, but I think thats not what I am looking for.

Re: Callins MetalReceived & EnergyReceived

Posted: 30 Jul 2010, 01:30
by Tobi
moved

Re: Callins MetalReceived & EnergyReceived

Posted: 27 Sep 2010, 19:33
by very_bad_soldier
I still miss it. Would be great to have if its not that much work...

Re: Callins MetalReceived & EnergyReceived

Posted: 15 Jan 2011, 19:26
by very_bad_soldier
*2011 bump*

Re: Callins MetalReceived & EnergyReceived

Posted: 16 May 2011, 22:21
by very_bad_soldier
*still alive*

Re: Callins MetalReceived & EnergyReceived

Posted: 17 May 2011, 09:36
by hoijui
if it gets done, i would recommend doing it somehow like ResourceReceived("metal" || METAL_RESOURCE_ID, amount), so it would not have to be changed for when we support engine internal, arbitrary resources.

Re: Callins MetalReceived & EnergyReceived

Posted: 27 Dec 2011, 01:46
by very_bad_soldier
Please please please, its christmas time. :|