New Threads (Not Forum-Threads,Scripting)

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
Vegotenks
Engineer
Engineer
Posts: 3
Joined: 15 Feb 2021 06:26

New Threads (Not Forum-Threads,Scripting)

Post by Vegotenks »

Hello everyone,

In the past few weeks, I have started developing an AI and now i've got to a point where I want to start with the really fun stuff:
e.g.: Something else than planes flying from Airport to Airport -> Roads next?

As I was reading through the "Squirrel Reference Manual" linked on the OpenTTD Website I discovered Threads for me as a good Idea.
http://squirrel-lang.org/doc/squirrel2.html#d0e1887
When I've tried to use this function the compiler just told me that the index "newthread" wouldn't exist.

Now to come to an End within this Post my Question to people with more experience in this:

Are some of the Squirrel functions blocked in OpenTTD?

Thank you for your Attention!
Please excuse me for any spelling mistakes.
Have a nice Day.
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: richnsim and 1 guest