Solved On fall

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BirdCanFly

Member
Jun 22, 2017
29
2
3
push player upwards at speed 3
when player hits ground
drawDot count 4, particle "Smokelarge", XYZ 2, 0.5, 2, center location of player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
drawDot count 20, particle "blockcrack", material netherrack block, XYZ 2, 0.5, 2, center location of player, visibleRange 320, pulseDelay 0, keepFor 10 ticks



I want it to show the Particles when the player hits the ground, any one knows how i do this?
 
code_language.skript:
push player upwards at speed 3
while ground state of player is false:
  wait 1 tick
drawDot count 4, particle "Smokelarge", XYZ 2, 0.5, 2, center location of player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
drawDot count 20, particle "blockcrack", material netherrack block, XYZ 2, 0.5, 2, center location of player, visibleRange 320, pulseDelay 0, keepFor 10 ticks
 
Now i only see the particles when im in air, and it stops when i hit the ground.
But i want particles when i HIT the ground. Or is that not possible?
What do you mean? Read the code.
While the groundstate is false (while the player is not in soil), will wait 1 tick. The particles will just deploy after it.
I don't know what could be wrong there.
 
Status
Not open for further replies.