#(dxrknesx) NPC Health and Hostile
25 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@uncut hare
the thing about that is i use an player for the entity and this doesnt give the npc any ai
and for that idk how to do that, i tried a lot but nothing worked for me
could you maybe give me a example of what you mean?
i also tried using denizen but its always giving me a null error because the entity of the npc seems to be null
and this also happends when i try using the bukkit api
ok, then you may have to code the AI yourself
no, this is the citizens support discord not the bukkit/spigot api support discord
if it's not spawned yet then the entity will be null
oh yea true
Couldn't you use Sentinel?
to be honest i would try to give my npc the ai of another mob like the iron golem so its attacking when its getting attacked yk
@delicate sinew is that possible without sentinel or do i have to try using that?
not possible atm with citizens
I mean, you can easily code it yourself but if you don't know how to code that well
okay i spawned it and then set the health but this doesnt work either
i tried it again with denizen and then with the bukkit api and it just dont want to work
@uncut hare
Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.
@uncut hare
Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.
@uncut hare
Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.
@uncut hare You have to use one of these commands above ^