Posts: 3
Threads: 1
Joined: May 2025
Thanks: 1
Given 0 thank(s) in 0 post(s)
I am seeing in the C++ source code of the Monster class that it contains a ->SetTarget() method but it seems that it is not exposed for use in Lua?
Posts: 4,637
Threads: 115
Joined: Dec 2011
Thanks: 697
Given 518 thank(s) in 441 post(s)
Hi, welcome to the forum. Unfortunately the api for monsters is rather lacking. There were plans for a modular approach where monster AI could easily be swapped with something different or even custom logic from a plugin, but that hasn't been worked on in years.
Posts: 3
Threads: 1
Joined: May 2025
Thanks: 1
Given 0 thank(s) in 0 post(s)
Ohh, i see :7 all right thank u for the answer