1. 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 comminuty!

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

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I require helps on push/thrust

Discussion in 'Skript' started by Last_Minecraft, Oct 5, 2020.

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

    Joined:
    Jul 28, 2020
    Messages:
    10
    Likes Received:
    0
    [​IMG] I was looking for a jump pad for my server which I want when player step on it it push player to a specific location(I tried (direction from player to location of {examplevariable}) but it doesn't seem to be what I want). What I want is when player step on it it pushes player to specific cordinate like the {examplevariable} one, but not the direction, just push player to that location.
    Code (Text):
    1. on step on green glazed terracotta:
    2.     set {greenteleport} to location at (265, 108, 459)
    3.     push player (direction from player to location of {greenteleport}) at speed 5
     
  2. Time4Games

    Time4Games Active Member

    Joined:
    Jul 25, 2020
    Messages:
    200
    Likes Received:
    4
    Code (Text):
    1. on step on green glazed terracotta:
    2.     push player forward at speed 5
    3.     push player up at speed 2
    edit:
    i didn't notice the push to a variable. ill remake it soon
    --- Double Post Merged, Oct 5, 2020, Original Post Date: Oct 5, 2020 ---
    Code (Text):
    1. on step on green glazed terracotta:
    2.     set {_heading} to direction from player to location of {greenteleport}
    3.     push player {_heading} at speed 5
    4.     push player up at speed 2
     
Thread Status:
Not open for further replies.

Share This Page

Loading...