Target specific entities

Started by Mezmerize4 on

Topic category: Help with MCreator software

Active 7 months ago
Joined Nov 2014
Points:
750

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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 ?

Active 4 years ago
Joined Aug 2019
Points:
741

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 137
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.