Help Making death Message

Started by BeastAustin94 on

Topic category: Help with MCreator software

Last seen on 21:54, 10. Jun 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help Making death Message

so i have this ranged item and i coded it so that it does custom damage and i know you have to type %1$s to represent the person that was killed but i want to represent the person the killed them so for example if john killed bell it would say in chat: bell was killed by john, how do i do this?

Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Wed, 06/15/2022 - 02:18

a

Last seen on 11:34, 9. Oct 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Wed, 06/15/2022 - 02:41

this

Last seen on 13:30, 23. Apr 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey Aatreyu_Shau, your way…
Wed, 06/15/2022 - 02:59

Hey Aatreyu_Shau, your way is very smart but there is a better way of doing it. Have your Deal Custom Damage procedure block in your "When Projectile Hits Living Entity" trigger and then in your localization tab make these two entries:

Entries

It is pretty simple, the first one defines the killed person (%1$s) and the second one defines the killer (%2$s), the second localization entry is for if the game gets confused on who killed who. These death messages also work for mobs. Oh by the way make sure to replace "slingshot" with what you put in your Deal Custom Damage procedure block

Last seen on 13:30, 23. Apr 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Btw when I say these work…
Wed, 06/15/2022 - 03:01

Btw when I say these work for mobs it means if the mob uses the ranged item it will say like: "Dev was pelted to death by Skeleton"