Target specific entities

Started by Mezmerize4 on Wed, 07/17/2019 - 00:11

Topic category: Help with MCreator software

Last seen on 17:47, 24. Jun 2020
Joined Nov 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Target specific entities
Wed, 07/17/2019 - 00:11

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 ?

Last seen on 09:17, 20. Feb 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.