lightning damage and phasing

Discussion in 'Plugin Development' started by deivisxm, Dec 7, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    deivisxm

    hello, i am new developer. I have been programing for about 2 days... Now i would like to make command to strike lightning and set damage of lightning. How could i do that? Also how could i make player teleport trough blocks.
     
  2. Offline

    CevinWa

    You could just use the entity of the lighting then get the player target by the commands location and strike entity lightning there and hurt him.
     
  3. Offline

    skipperguy12

    To make it so lightning does 0 damage, use lightningstrikeeffect.

    Teleporting players through blocks? What do you mean? Like noclip?

    If your talking about blocks in between two locations in which a player is teleporting, that's no problem. The player will momentarily disappear and then reappear at location 2.
     
  4. Offline

    deivisxm

    thank you for ur help. By teleporting trough blocks i mean for example: player runs to the wall and then he uses that ability and then hes teleported trough wall... Sorry for my grammar.
     
  5. Offline

    CevinWa

    Just get the two blocks in front of him and teleport him to that location
     
  6. Offline

    deivisxm

    ok, but what if the wall is more then 4 blocks? Actually lets say its a mountain...
     
  7. Offline

    CevinWa

    Try looping it
    Search for air
     
Thread Status:
Not open for further replies.

Share This Page