Page 1 of 1

AI?

Posted: Mon May 16, 2016 1:58 am
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?

Re: AI?

Posted: Mon May 16, 2016 8:54 am
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.

Re: AI?

Posted: Mon May 16, 2016 9:28 am
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.