AI?

Place to get help with not working mods / modding interface.
Post Reply
psznm
Inserter
Inserter
Posts: 40
Joined: Mon Oct 05, 2015 1:42 pm
Contact:

AI?

Post by psznm »

Hello, I would like to implement my own AI for my entities. I am not too familiar with lua yet so the question is, is it even possible? And if it is, could you give me a hint where to start?

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: AI?

Post by prg »

What do you mean with AI and for what kind of entities? Have a look at the API reference to see what functions are available.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

psznm
Inserter
Inserter
Posts: 40
Joined: Mon Oct 05, 2015 1:42 pm
Contact:

Re: AI?

Post by psznm »

prg wrote:What do you mean with AI and for what kind of entities? Have a look at the API reference to see what functions are available.
Thank you, that was actually very helpful. I found LuaEntity.set_command(), I think that should do the trick for me.

Post Reply

Return to “Modding help”