Target location gets stuck to the first location

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

Lego_freak1999

Well-Known Member
Jan 26, 2017
657
46
28
HTTP-410
Skript Version: Skript 2.2 (dev25)
Skript Author: Njol, Mirreski, Bensku, nfell2009, joeuguce99, realgatt, roycurtis, tim740 and tuke-nuke
Minecraft Version: 1.11.2
---
Full Code:

Hey i was messing around with some stuff but i ran in to a problem.

wenn you want to get the target location of a block this will only work the first time.
wenn the second time it happens occurs the location will be the same and don't change.

so wenn i look at a block that is at 0,0,0 then execute the command it will response 0,0,0 but if i look in to an other direction while its still running it will remain outputting 0,0,0 while i am actually looking to an other block.

hope someone can find a fix or if this can be fixed?

code_language.skript:
command /targettest:
    trigger:
        loop 100 times:
            wait 1 tick
            message "%location of target block%"

Errors on Reload:

None

Console Errors: (if applicable)

None

Troubleshooting:

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? I have tried to first save the target block and then getting location of that block but the same issue ocurs for the target block
 
@Lego_freak1999

It is working well on my test server.
46427594-a61b-44b2-905c-17c40899d28c
46427594-a61b-44b2-905c-17c40899d28c
E5Hrfvq.png
 
mmm....
[doublepost=1489780354,1489780321][/doublepost]what skript version?
 
do you not have on of these addons:

skdragon reqn skquery biosphere skriptJSON WolvSK SkStuff MundoSK skUtilities skRayFall Skellettt Umbaska SharpSK TuSKe

i will romve te ones that you dont have to test
 
do you not have on of these addons:

skdragon reqn skquery biosphere skriptJSON WolvSK SkStuff MundoSK skUtilities skRayFall Skellettt Umbaska SharpSK TuSKe

i will romve te ones that you dont have to test

Need one more? :emoji_astonished:

I only use Skript & Skellett.
 
You've tried to target a block in low distance? Like 2-3 blocks of distance.
yes
[doublepost=1489784430,1489783852][/doublepost]
You've tried to target a block in low distance? Like 2-3 blocks of distance.
well i just removed all plugins except from skellett and skript and this problem still happens? is this configuration issue or somthing?
 
yes
[doublepost=1489784430,1489783852][/doublepost]
well i just removed all plugins except from skellett and skript and this problem still happens? is this configuration issue or somthing?

Maybe target distance on spigot/server/skript config.
 
bump
[doublepost=1490125386,1489878035][/doublepost]bump
[doublepost=1490386131][/doublepost]bump
[doublepost=1491223888][/doublepost]Bump
 
Status
Not open for further replies.