Hellooo
, I have been reading the documentation and I don't see any method like SetTarget or AttackEntity in cMonster, how is it done?


How to make a Monster attack Player
|
Hellooo
![]() ![]()
05-01-2025, 02:11 PM
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?
05-01-2025, 04:10 PM
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.
Thanks given by: Goxe99
05-01-2025, 05:37 PM
Ohh, i see :7 all right thank u for the answer
|
« Next Oldest | Next Newest »
|