How to make a Monster attack Player
#1
Lightbulb 
Hellooo Smile , I have been reading the documentation and I don't see any method like SetTarget or AttackEntity in cMonster, how is it done? Huh
Reply
Thanks given by:
#2
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?
Reply
Thanks given by:
#3
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.
Reply
Thanks given by: Goxe99
#4
Ohh, i see :7 all right thank u for the answer
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)