[C++] Access Economy params

[C++] Access Economy params

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
lamer
Posts: 153
Joined: 08 Mar 2014, 23:13

[C++] Access Economy params

Post by lamer »

AI's interface provides access to economy parameters with Economy::GetCurrent, ::GetIncome, ::GetUsage and ::GetStorage.
Lua's interface has access to more params like Pull, Share, Sent, Recieved, Excess. If no one objects i'll add those params to C interface (although i have no idea what's Pull and Share).
At the moment i want to use only Recieved, but i can't see any reason to hide others from AI.

Edit: Done
Post Reply

Return to “AI”