Solved On death of custom named entity

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

VOIDDER

Member
Aug 23, 2018
27
0
1
Help, how to do:
How to track what an entity with a custom name is dying?

My attempts:

on rightclick on entity:
if name of entity is "&2Skeletal Knight": //work
broadcast "+1"

on death:
broadcast "-1"
if name of entity is "&2Skeletal Knight": //not work
broadcast "+1"
 
Help, how to do:
How to track what an entity with a custom name is dying?

My attempts:

on rightclick on entity:
if name of entity is "&2Skeletal Knight": //work
broadcast "+1"

on death:
broadcast "-1"
if name of entity is "&2Skeletal Knight": //not work
broadcast "+1"
Ah, I've had this issue before. Try using "victim" instead of "entity" on the death event
 
Status
Not open for further replies.