Page 2 of 2

Re: AI Bug

Posted: Mon Nov 18, 2013 1:35 pm
by Kyran
Thank you, the proper command is: GetPlayerData(AiPlayer(), "Resources", "gold")

Re: AI Bug

Posted: Mon Nov 18, 2013 9:25 pm
by Andrettin
Kyran wrote:Thank you, the proper command is: GetPlayerData(AiPlayer(), "Resources", "gold")
Ah yes, sorry I mixed those up. The "TotalResources" one is for checking how much has been gathered by the player in total, rather than the current amount of resources.