Solved Pull ability

  • 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!

  • 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.

Sunbex

New Member
Sep 13, 2021
8
0
1
24
Hello, is there any way to write a code that would allow for the user of the ability to pull in an enemy? If so, what would it be?
 
You could achieve a similar effect if you use teleport, if that's what you're looking for here is an example skript:

Code:
command /pull:
    trigger:
    #Here you get the entities around player
        loop all entities in radius 15 around player where [player input != entity]:
            
            #Checker to avoid messing with other entities
            if loop-entity is a mob or player:

                teleport loop-entity to player's location
Always try to be more specific in your requests so you get faster, more efficient help.
 
Status
Not open for further replies.