#Armor stand
1 messages · Page 1 of 1 (latest)
can u make an example of moving the armor stand?
and how i use item display
how i create it?
Item displays will be better because they have interpolation and scale, which will make it much easier to make such a system
so i create a new one every time that get closer
well ill just use armor stands and change the location of it with nbt prop
or use citizen npc
ill use citizen
Move Citizen EffectskRayFall
move citizen %number% to %location% [at speed %number%]
Move citizens by:
ID
Location
Speed
This will make a given NPC pathfind to a location
Yeah dont use skrayfall
how i fix this
loop diffrence between location of player and {_loc} times:
so i want it to loop the amount of blocks in diffrence between the player and location of armor stand
sorry
i got this now i gotta make it tp towards player
if name of player's tool contains "Skeletons":
cancel event
if event-block is not air:
send action bar "&dElixir: &5%{elixir::%uuid of player%}%" to player
if {elixir::%uuid of player%} >= 1:
remove 1 from {elixir::%uuid of player%}
if {elixir::%uuid of player%} < 0:
set {elixir::%uuid of player%} to 0
set {_loc} to location above event-block
add 0, 1, 0 to {_loc}
spawn armor stand at {_loc}
set {armorstand::%uuid of player%} to last spawned armor stand
#add "{NoGravity:1b,Small:1,Invisible:1,Invulnerable:1,NoBasePlate:1,DisabledSlots:2039583}" to nbt of {armorstand::%uuid of player%}
loop distance between location of player and {_loc} times:
send "%loop-value%" to player
set {Skeletonsloc::%uuid of player%} to {_loc}```
You should format yoru code when you send it on discord
also, AI generated code is not allowed in this server
which kind of format?
mb i replied
!
that?
yeah but you cant learn anything if you dont have an example of what you need
Removing comments doesnt make it better. The point of not allowing AI code is because you need to make an honest effort and understand the code so that you can apply the advice we giev
thats what the documentation and wikis are for
yeah but i cant learn anything if i dont know how
yeah but all wikis are like from decades ago
there's wikis on the github pages for a bunch of addons, notably skbee
also skripthub.net/docs
i dont like github weird kind of like format
well how do i move it to the player?
but not like tp
just like move it block by block
MB I REPLIED AGAIN
so sorry
ill stop
replying
teleport 1 block at a time? or just move continuously
thats not an answer to my question
ohg mb
theres an expression for the location of an entity, try that
i mean like move it
push effect then, probably
get a vector from them to the player, and then normalise it.
or, maybe skript's push syntax supports towards X as a simpler option
so push entity towards player
https://tryitands.ee/ , and also search for the 'push effect' on the docs if you need the syntax/examples
ill try
like this?
every 1 second:
push {armorstand::%uuid of loop-player%} towards loop-player
bc i gotta push it towards him every second
doesnt work
I am not a fan of doing it in a periodical
then how i keep pushing it?
(im assuming you get a no loop that matches loop-player or no player in a periodical error)
Depends, a while loop is an option, push the armour stand to the player while it exists
so it does it
which you didnt do
alr
hmm
hmm
it says cant compare a distance with a nunmber
tho the number is the distance
while distance between player and {armorstand::%uuid of player%} is greather than 1:
push {armorstand::%uuid of player%} towards player
and distance between x and x is a condition
fyi, that loop will terminate once it reaches the player and wont automatically start up again. I would do something like this:
wait 1 tick
if <the distance between them> < 1:
continue
<push it>```. note the stuff inside `<>` is not valid syntax
expression*
mb
so this doesnt work
push {armorstand::%uuid of player%} towards player at speed 1
saying cant udnerstand condition/effect
push player towards player's target at speed 2
thats how it is inside the guide place
try push {} towards (player's location)
Why do you have half of these addons?
I think skellet is outdated and skessentials—well im not a fan of essentials
And skript-yaml you dont need unless you want to read/write to .YAML files
Reflect is a good addon, but a little more advanced
man is missing skBee
^ true you cant use nbt without
i used to transfer data from bande plugin to skript bc of errors
didnt take a picture of them all
since it filled too much
of chat
Well you definitely want to delete some, especially if you have skquery and skrayfall in the list
Downloading a bunch of addons just makes things messy—only get the ones you are going to use
true but i got them when i had only scripted for 1 week and kept them in a folder as starter plugins
so i didnt have to find
You only need skript, skbee, and reflect. Maybe skript-particle if you dont want to make your own shapes
Because you likely have outdated addons that are known to cause bugs in code and skript itself.
which should i update
is there command to update it?
should i delete the file and jar file when deleting?
or just jar
and switch with new version
jar obviously
yeah obviously it was just if i needed to delete the folder called skbee also
i mean you can
but you dont have to
i fixed
set {_v} to vector between {armorstand::%uuid of player%} and player
wait 5 seconds
push {armorstand::%uuid of player%} {_v} at speed 1
but
it doesnt wait
it just instantly does it
Show sk info