GSCargoMonitor

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
idioty
Engineer
Engineer
Posts: 59
Joined: 21 Jun 2010 11:54

GSCargoMonitor

Post by idioty »

The GSCargoMonitor GetTownDeliveryAmount can monitor all of cargo type (coal, wood, etc...).
This will always be remain?
Sorry my bad english, I don't speak english!
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: GSCargoMonitor

Post by planetmaker »

Your script defines an API version which it uses. Within an API version the function will remain and that API version will be continued to be supported for some time (so far we've never removed support really). Whether or not it will be continued to be used (most likely) or changed or deprecated in future API versions is something which only the future will be able to tell. The only notable exception is the API of trunk OpenTTD (currently 1.3) which will only be considered stable after the release of OpenTTD 1.3.0-RC1; still, it's unlikely that it'll change till then, though if you as author rely on nightlies you should check back on current developments from time to time.
idioty
Engineer
Engineer
Posts: 59
Joined: 21 Jun 2010 11:54

Re: GSCargoMonitor

Post by idioty »

Thanks!
Sorry my bad english, I don't speak english!
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 15 guests