Target specific entities

Started by Mezmerize4 on

Topic category: Help with MCreator software

Joined Nov 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Target specific entities

Hello, i need some help with a complex procedure.

here's the situation : 

i did a "marking" potion effect that occurs when i hit an entity with an athame (custom weapon) 

i also did a grimoire with it's GUI with a button that creates a lightning

the problem is : 

i want the lightning to strike at the position of a entity that has the "marked" potion effect

 

 

can someone help me ?

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a global logic…
Sat, 09/21/2019 - 11:02

Create a global logic variable. Make the grimoire set this to true, and make a procedure for the marking potion effect to test if this is true, and then spawn the lightning.