Zombie Kill Count

Started by ImDaMilan on

Topic category: Help with MCreator software

Last seen on 19:51, 22. Sep 2021
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.

Last seen on 17:32, 15. Apr 2024
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

Last seen on 19:51, 22. Sep 2021
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?

Last seen on 21:01, 7. Aug 2023
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.

Last seen on 17:32, 15. Apr 2024
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.

Last seen on 19:51, 22. Sep 2021
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.

Last seen on 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT
Mon, 07/05/2021 - 08:23

NBT