#need help
1 messages · Page 1 of 1 (latest)
i want it to be instant
how would oyu do that?
heck, whats wrong with player's target block? its a but hard to know which method is best without a decent explanation of what this is being used for
OKAY SO
sry for caps
i need it to summon a tnt at the block the palyer is looking at
like ~ ~1 ~ of the block the palyer is looking at
so i need the cordinates of the block i look at
okay so yeah, player's target block should work then, no?
and just offset by vector(0,1,0)
that gives the block not the cords i belive?
it will work
it isnt?
!spawn creeper at (me's target block)
it isnt working bcuz
it should indeed work
{cords} becomes 'grass block' at -596.5, 71.5, 254.5 in world 'world'
if event-player is "Apple00220":
if player is holding a fishing rod:
set {cords} to the player's target block
execute console command "execute at %event-player% run fire {cords} stab 1 1 0 0"
send "%{cords}%" to player```
is my code rn btw
wait am dumb excuse me
why in the world are you using console commands
bcuz
on right-click with fishing rod: also
its a portable stab shot like in unstable
got any idea on how to do it with console comamnds?
what does the command have to do with summoning tnt
that command summons tnt from build limit to bedrock in a colum that instanlty explodes
if event-player is "Apple00220":
set {cords} to location of player's target block
execute console command "fire {cords} stab 1 1 0 0"
send "%{cords}%" to player```
but this gives x: -595.5, y: 71.5, z: 249.5, yaw: 0, pitch: 0 in 'world' to {cords}
well the command requires 3 numbers
?
spawn primed tnt with skript
but i need to
.
thats not satisfying enough
?
so its not possible to get the raw cordiantes of the block the palyer is looking at?
yes it is, but i dont think you need to
just 3 numbers x y and z cords
how do you do it then?
i installed a plugin at this point that makes it easy to config i should be using it lol
also, a simple docs search would work for this question...
Just use player's target block, and then you can loop in a vertical line and spawn tnt at every y value should you wish
ye but
and if the command spawns a vertical stack of tnt, it really only needs you to pass in x and z not y
i am going to do other stuff to which i need the comand for
ye true
with the command i can do like 50 other things i want to and i dont wan tto code every single thing by hand
I FIGURED IT OUT