Comments (10)
https://discord.com/channels/135877399391764480/138027100593455104/1208917960954216478
There's the context the people on discord think i'm dumb thatswhy I wrote the thing at the end, sorry
from skript.
error occurs too when using global vars
e.g.:
local function test(p: player) :: boolean:
loop {players::*}:
teleport loop-value to {loc}
return true
```
from skript.
It can be fixed by:
local function tpPlayer(p: player):
teleport {_p} to {loc}
local function test(p: player) :: boolean:
loop {players::*}:
tpPlayer(loop-value)
return true
```
from skript.
but thats kinda not nice thatswhy I opened this bug report
from skript.
Please provide the proper details of your /sk info
as requested in the issue report form. Also, test without any addons and let us know if that issue persists.
from skript.
People say I need to use non local (https://discord.com/channels/135877399391764480/138027100593455104/1208922964641325079) but same issue
function test(p: player) :: boolean:
set {_players::*} to {_p}
loop {_players::*}:
teleport loop-value to {loc}
return true
from skript.
on paperspigot, the teleport effect runs delayed and function returns can't occur after a delay. you can use force teleport loop-value to {loc}
to avoid this, but do keep in mind this will cause lag if the chunk you are teleporting to needs to be loaded/generated. @Vulcano771 confirmed on discord they are running paper
from skript.
Yep, that fixes it, bug can be closed ^^
from skript.
i do it with the other function workarround
from skript.
Oh Pika/Ayham what is that workarround then doing? #6444 (comment)
is that then forcing or just moving it to another thread or is skript just ignoring the delay there?
from skript.
Related Issues (20)
- FallingBlock causes Chunk(0,0) to load HOT 6
- Another location world missing exception thrown lookAt HOT 1
- Player event-value doesn't error ScriptEvent events HOT 7
- can't write single quote in item nbt HOT 1
- Another exception thrown when no world is present in the location for ExprBlocks HOT 1
- getWorldMinHeight no world in location throws exception
- createExplosion with no world in location throws exception
- On block break does not fire for make player see block at player as x block HOT 3
- Spawning an entity blocked by a data pack will error
- Time and world time are of seemingly different, incompatible types HOT 2
- Commands have trouble registering and deregistering HOT 2
- Clamp function always returns a list HOT 1
- Parse inconsistency with color HOT 1
- Scripts broken HOT 3
- Sorted indexes of string lists not comparing strings HOT 1
- Unique list variables HOT 1
- Command argument multiplication HOT 1
- command i made doesnt work properly HOT 7
- Global value changing after loop HOT 2
- Parsing offline player and offlineplayer() failing to process UUIDs HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skript.