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.
Callins MetalReceived & EnergyReceived
Moderator: Moderators
Re: Callins MetalReceived & EnergyReceived
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.
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
There is the AllowResourceTransfer LuaRules callin, but it just gets called for user issued sharing.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Callins MetalReceived & EnergyReceived
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.
@jk: yeah I saw that too, but I think thats not what I am looking for.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Callins MetalReceived & EnergyReceived
I still miss it. Would be great to have if its not that much work...
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Callins MetalReceived & EnergyReceived
*2011 bump*
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Callins MetalReceived & EnergyReceived
*still alive*
Re: Callins MetalReceived & EnergyReceived
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.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Callins MetalReceived & EnergyReceived
Please please please, its christmas time. 
