#(Darwin) How to check if entity is alive?
1 messages · Page 1 of 1 (latest)
(Darwin) How to check if entity is alive?
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.
soomething like is_truthy check wouldnt work?
^ is_truthy will check if:
- the entity is alive
- the entity is spawned
and if the chunk is unloaded, won't be truthy because it also can't be spawned there if so
So there is no way?
wait, so you want to only check if its alive and not if its spawned?
health.is_truthy then?
!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
I completely forgot about this thread
huh. looks like it's working
How is that possible that location requires entity to be spawned, but health is not?
You can even ex kill that entity 🤯
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
I bet, that will break after server restart
Let me check
Did it?
this is still the correct answer for what you want here, likely
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
No response to request to close thread after 3 days. Automatically closing.
yes it does
Thread was manually reopened by @viscid plover.