Zombie Kill Count

Started by ImDaMilan on

Topic category: Help with MCreator software

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Zombie Kill Count

I've been trying to make a mod that tracks down how many zombies a player has killed, but I just can't get it to work. This was what I tried to do, any help would be appreciated.

https://imgur.com/a/k4oWEmI

 

This is what I tried.

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That's because you're…
Thu, 06/24/2021 - 16:46

That's because you're setting the variable to event/target entity. That's how this variable block works. You could lock the procedure code and change entity to sourceentity in the code responsible for the variable :p

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, I'm new, how do I do…
Thu, 06/24/2021 - 18:56

Sorry, I'm new, how do I do that, and what does that even mean?

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I suggest you try something…
Thu, 06/24/2021 - 21:04

I suggest you try something involving when entity attack and get if target health equals zero then add the global +1 to the source, with when entity dies I not sure if the game knows how to get who killed it.

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The point is you can't set…
Fri, 06/25/2021 - 17:10

The point is you can't set variable to either target or source entity. It works only one way. Thus he would have to lock the code and edit it.

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, thank you for help.
Fri, 06/25/2021 - 17:39

Ok, thank you for help.