Lightning on player

Started by Ypermat on Sat, 07/18/2020 - 20:32

Topic category: Help with modding (Java Edition)

Last seen on 17:03, 18. Nov 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Lightning on player
Sat, 07/18/2020 - 20:32

Hey hey ! How can I strike lightning on player ? Or how can I get the player's coordinates to strike lightning on it ?

Thank you !

Last seen on 13:51, 23. Nov 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Did you even searched in the…
Sat, 07/18/2020 - 22:09

Did you even searched in the procedures?
In the "world management" tab, there is a procedure block "Strike lightning at x y z"

Please, at least search before askiing...

Last seen on 17:03, 18. Nov 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yeah thank you mate (like I…
Sun, 07/19/2020 - 08:57

Yeah thank you mate (like I didn't shearched...) if I "strike lightning at x y z".

Please, at least search before askiing...

If I do that the lightning strike on the entity, not on the player, my question is how to strike lightning ON THE PLAYER.

Please, at least read before answer... :)

Last seen on 13:51, 23. Nov 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Are you freaking serious???…
Sun, 07/19/2020 - 11:05

Are you freaking serious??? The player IS an entity...... it's just a special one because you can control it, but it is considered as an entity... Did you even tried to use that procedure block before answering? I'm here to help you so if you don't want then goodbye!

Last seen on 17:03, 18. Nov 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Bro I am freaking serious,…
Sun, 07/19/2020 - 13:03

Bro I am freaking serious, the procedure is at coordinates, not entity.

When I call the procedure for exemple when you right click a mob, the lightning strike THE MOB not THE PLAYER...

So I tried to play withe the coordinates but if the player is not at the exact coordinates the lightning miss.

You answered me twice in a haughty tone that you "just have to use the block procedure", that is false.

I know the player is an entity, I tried several times in different ways to hit the THE PLAYER not THE MOB and I didn't succed.

Last seen on 17:03, 18. Nov 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I figured out myslef, I used…
Sun, 07/19/2020 - 13:43

I figured out myslef, I used some "X position of..." + "source entity" + "event/target entity" + "strike lightning at..." + entity hit trigger and other things.

More complex than just

"Strike lightning at x y z"

 Thank you.

Last seen on 16:24, 21. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How exactly did you do this?…
Wed, 10/21/2020 - 18:09

How exactly did you do this? Can you explain? I am doing a professional mod for someone.