NoGo Question: Company Expending categories

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
Monty_Montana
Engineer
Engineer
Posts: 44
Joined: 15 Oct 2014 21:41

NoGo Question: Company Expending categories

Post by Monty_Montana »

Hi all

I have a question about NoGo scripting, and i would be grateful if someone answers it :D :

Is there a way for getting how much money did a company expend only on construction or new vehicles?

I have searched into NoGo documentation (https://docs.openttd.org/gs-api/classGSCompany.html) but those categories are not covered.
Maybe I am missing something, or there is a way to compute it.

Thanks in advance,
Montana

User avatar
jfs
Tycoon
Tycoon
Posts: 1103
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: NoGo Question: Company Expending categories

Post by jfs »

You're right, that's not possible. It would be a pretty easy enhancement.

Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 4 guests