HIBIKI
HIBIKI
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
うんにぃ
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
もう何もできない、何も感じれない
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
一応コードはこんなかんじです
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
command /shotgun:
trigger:
shotgun(player,1,-1,1)
command /shotgun:
trigger:
shotgun(player,1,-1,1)
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
function shotgun(p: player, fx: integer, fy: integer, fz: integer):
tool of {_p} is netherite shovel
set {damageProjectile.%{_p}%} to 5
set {_x} to x-coordinate of target block of {_p} +{_fx}
set {_y} to y-coordinate of target block of {_p} +{_fy}
set {_z} to z-coordinate of target block of {_p} +{_fz}

set {_v} to vector from location of {_p} to location({_x},{_y},{_z})
set vector length of {_v} to 0.8
shoot arrow from location of {_p} {_v}
set {_loc} to location of block above {_p}
function shotgun(p: player, fx: integer, fy: integer, fz: integer):
tool of {_p} is netherite shovel
set {damageProjectile.%{_p}%} to 5
set {_x} to x-coordinate of target block of {_p} +{_fx}
set {_y} to y-coordinate of target block of {_p} +{_fy}
set {_z} to z-coordinate of target block of {_p} +{_fz}

set {_v} to vector from location of {_p} to location({_x},{_y},{_z})
set vector length of {_v} to 0.8
shoot arrow from location of {_p} {_v}
set {_loc} to location of block above {_p}
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
いろいろ試してみたけどどれもだめだttあ
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
Cant understand this condition/effect:
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
make player shootにしても似たようなエラーがでてきました
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
ばーじょんは1.16.5です
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
このコードを使うと発射された矢の所有者が設定されない
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
shoot an arrow from location of player {_v}
shoot an arrow from location of player {_v}
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
上の二つのコードを使って/shotgunコマンドによって発射された矢のダメージを{damageProjectile.%player%}を利用してon projectile hitで被害者に与える、っていうスクリプトを作ろうとしているんだけど、
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 11/24/2023 in #help-forum
発射された弓矢の所有者を設定できない
on projectile hit:
victim is player
broadcast "victim"
add {damageProjectile.%shooter%} to health of victim
broadcast "%{damageProjectile.%shooter%}%"
cancel event
delete event-projectile
on projectile hit:
victim is player
broadcast "victim"
add {damageProjectile.%shooter%} to health of victim
broadcast "%{damageProjectile.%shooter%}%"
cancel event
delete event-projectile
24 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 10/24/2022 in #help-forum
座標(1,1,1)から座標(5,5,5)までの立方体の中に、レッドストーンブロックがあった場合、「こんにちは」というメッセージが流れるSkript
とじ!!
12 replies
PDCPlayerRealms developerS Community
Created by HIBIKI on 10/24/2022 in #help-forum
座標(1,1,1)から座標(5,5,5)までの立方体の中に、レッドストーンブロックがあった場合、「こんにちは」というメッセージが流れるSkript
みなさんご協力どうもありがとうございました!!
12 replies