Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AILog.* causing error when passed integer #3101

Closed
DorpsGek opened this issue Aug 9, 2009 · 1 comment
Closed

AILog.* causing error when passed integer #3101

DorpsGek opened this issue Aug 9, 2009 · 1 comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Aug 9, 2009

xmakina opened the ticket and wrote:

At the moment, trying to get AILog.Info/Warning to print an integer or boolean results in an error.

Example:
local test = 5;
AILog.Info(test);

It would be nice if integer or boolean results could be automatically converted to a string and displayed by AILog.Info/Warning.

Cheers,
Xander

Reported version: 0.7.2
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3101
@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Implemented

In r17221


This comment was imported from FlySpray: https://bugs.openttd.org/task/3101

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) enhancement component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant