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 have a problem with pathfinder!

Discussion in 'Skript' started by Hasloslabe, Apr 27, 2022.

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

    Hasloslabe New Member

    Joined:
    Apr 27, 2022
    Messages:
    5
    Likes Received:
    0
    Hi i have trobles with pathfind function from skquery! i maded command what summon entity and make's entity walk to the defined by another command point. When i use this command it sends to me on chat: "An interral error occured while attempting to perform this command!"
    what i need to fix it?
    im on lastest version of minecraft (1.18.2) on spigot.
    this is code of command

    command /entity:
    trigger:
    spawn cow
    make last spawned entity pathfind to {er} at speed 1


    help please!
     
  2. Mich

    Mich Active Member

    Joined:
    Jul 15, 2020
    Messages:
    145
    Likes Received:
    5
    Use SK bee because SK query I think it doesn't have support anymore for lates version. I give you an example give me a second
    --- Double Post Merged, Apr 27, 2022, Original Post Date: Apr 27, 2022 ---
    Code (Text):
    1. Command /entity:
    2.     Trigger:
    3.         Spawn a cow
    4.         Set {_entity} to the last spewned entity
    5.         While {_entity} is alive:
    6.             Set path target with speed 1.2 of {_entity} to player
    7.             Wait a tick
     
  3. Hasloslabe

    Hasloslabe New Member

    Joined:
    Apr 27, 2022
    Messages:
    5
    Likes Received:
    0
    i downloaded skbee and this happend with your code
     

    Attached Files:

Thread Status:
Not open for further replies.

Share This Page

Loading...