#(Darwin) How to check if entity is alive?

1 messages · Page 1 of 1 (latest)

viscid plover
#

is_spawned requires chunk to be loaded, but you can't take entity location to load chunk because .location requires entity to be spawned

flint parrotBOT
#

(Darwin) How to check if entity is alive?

flint parrotBOT
#

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.

summer sluice
#

soomething like is_truthy check wouldnt work?

robust sapphire
viscid plover
#

So there is no way?

fierce escarp
#

wait, so you want to only check if its alive and not if its spawned?

#

health.is_truthy then?

heady pendant
#

!vague

ocean tangleBOT
# heady pendant !vague
Info: vague

Your question is too vague to be able to answer well.

If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.

For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.

See also !xyproblem

viscid plover
#

I completely forgot about this thread

viscid plover
#

How is that possible that location requires entity to be spawned, but health is not?

#

You can even ex kill that entity 🤯

viscid plover
# heady pendant !vague

I have a system of player totems. If totem is alive, player will receive some bonuses
I can store location separately, yes, but I wanted to create a proc, that will check remained totems. But faced the problem that you can't chunkload in proc

viscid plover
robust sapphire
steep flameBOT
#
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.)

#

@viscid plover

steep flameBOT
#
Auto-Close Timeout

No response to request to close thread after 3 days. Automatically closing.

viscid plover
steep flameBOT
#
Thread Reopened

Thread was manually reopened by @viscid plover.