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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
i need it to drop a item to latest location of dropped itemcode_language.skript:on drop: push dropped item in direction of player with force 0.7 wait 2 ticks set {drop.test.%player%} to location at event-location set {drop.test.%player%.check} to true wait 5 seconds drop 1 diamond sword of sharpness 5 and unbreaking 2 named "{@pf}Lucky" at {drop.test.%player%} set {drop.test.%player%.check} to false send "Boom"
but it doesn't work item dropp to player not to dropped item location
on drop:
push dropped item in direction of player with force 0.7
wait 2 ticks
set {_drop} to location at event-location
set {drop.test.%player%.check} to true
wait 5 seconds
drop 1 diamond sword of sharpness 5 and unbreaking 2 named "{@pf}Lucky" at {_drop}
set {drop.test.%player%.check} to false
send "Boom"
loop all dropped items in radius 2.5 of {_drop}:
delete loop-value
I'm really not sure if this will workcode_language.skript:loop all dropped items in radius 2.5 of/at {_drop}: delete loop-value
maybe if u put out "dropped"?it not works with at or of the drop is not clear but
clear {_drop} is doesn't work
clear {_dropped} ?
[doublepost=1527439181,1527438900][/doublepost]
it works but i will clear only {_drop} not all xddcode_language.skript:loop entities: loop-entity is a dropped item clear loop-entity
on drop:
push dropped item in direction of player with force 0.7
wait 2 ticks
set {_drop} to location at event-location
set {drop.test.%player%.check} to true
wait 5 seconds
drop 1 diamond sword of sharpness 5 and unbreaking 2 named "{@pf}Lucky" at {_drop}
add dropped item to {_dropped::*}
set {drop.test.%player%.check} to false
send "Boom"
loop entities:
loop-entity is {_dropped::*}
clear loop-entity
Greatnot but i have it !!!!
it works thx for helpcode_language.skript:on drop: push dropped item in direction of player with force 0.7 wait 1 second set {_drop.%player%} to location at event-location set {drop.test.%player%.check} to true wait 5 seconds add dropped item to {_dropped.%player%::*} loop entities: loop-entity is {_dropped.%player%::*} clear loop-entity drop 1 diamond sword of sharpness 5 and unbreaking 2 named "{@pf}Lucky" at {_drop.%player%} set {drop.test.%player%.check} to false