NPC hooks not being calledSolved
There are one or two hooks that currently don't get called anymore after update which is OnNpcPlayerTarget and/or OnNpcTarget.
I can make every NPC make ignore me, besides scientists, they kind of have changed behaviour and you can't touch them w/this hook(s) anymore.
The hooks are working fine for the types they are added for; any new NPC types may not always be convered under the same hooks and require new hooks to be added. If you could provide more details though, we can look into it further.
+1.
Most military tunnel scientists and all cargoship scientists are HTNPlayer types and not governed by any existing NPCPlayer hooks.
If that's not your issue, tell us a little more. :)
@Wulf I've tried Vanish, tried Quantum his way and also tried myself to do it, none of them works and ONLY the scientist at the military tunnel and the cargo ship are still targeting you. The rest is working fine.


#Edit - Sorry for the first post, they actually get called but just don't work for specific scientists anymore - Wrote it wrong! - My bad.
In response to Arox ():
@Wulf I've tried Vanish, tried Quantum his way and also tried myself to do it, none of them works an...
Right, because the hooks are not added for those types yet in Oxide.
In response to Wulf ():
Right, because the hooks are not added for those types yet in Oxide.
When it will be added if I may ask?
In response to Arox ():
When it will be added if I may ask?
Whenever they get added. ;)
In response to Wulf ():
Whenever they get added. ;)
Ok, thanks Wulf and the rest.
Locked automatically