#(doofusworld) Is there any way to make an NPC only attack at night or in a specific light level?

1 messages · Page 1 of 1 (latest)

timid sleet
#

I want to make some NPCs that are peaceful in the day but when it turns night they will attack you like spiders do but I can't figure out how, is there a way?

open mortarBOT
#

(doofusworld) Is there any way to make an NPC only attack at night or in a specific light level? (

open mortarBOT
#

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.

timid sleet
#

(doofusworld) Is there any way to make an NPC only attack at night or in a specific light level?

old sierra
#

You could do that with a custom Denizen script

timid sleet
#

how?

old sierra
#

!guide

dusk barnBOT
timid sleet
#

and would I have to do it indivuailly for every NPC or would I be able to just make a setting like /npc onlyattackatnight?

old sierra
#

you'd write a script one time and then it applies to whichever npcs you want it applied to

#

Learn the basics of Denizen, then post any followup questions to #1026104994149171200

#

this Sentinel thread is basically done as all followup would need to be in denizen channel, so

rapid matrixBOT
#
Thread Closing Reminder

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.)

#

@timid sleet