Set attack target of entity to [x] lets entities attack [x] even if it already died.

Started by RedWirePlatinum on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set attack target of entity to [x] lets entities attack [x] even if it already died.

I kinda figured that a workaround to this is to check if the targeting entity is alive, if not then set the target to itself. But uhhhhhhhhhhhhhhhhh.. yeah

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
^ Specifically do the …
Sun, 04/16/2023 - 04:47

^ Specifically do the "target not alive" check in an "on loaded entity tick update" event

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well nevermind, the entity…
Sun, 04/16/2023 - 05:14

Well nevermind, the entity literally tries attacking itself, and I can't put "no entity" cause i get an error... damn