#how can i open a npc dialogue box using an item?

1 messages · Page 1 of 1 (latest)

shrewd ether
#

I just want to know a way to do this

nocturne moat
#

Drop item

#

bao_cmd_repeat_unc

/execute at @e[name="itemName or renam item name"] run /dialogue @p[r=0.5]

bao_cmd_chain_con

/execute at @e[name="itemName or renam item name"] run /kill @e[[name="itemName or renam item name", c=1]
shrewd ether
#

Thanks

#

/dialogue @p doesn't exist

native tusk
#

/dialogue literally exist

shrewd ether
#

What?, the command /dialogue @p does not exist at all

spare meteor
#

I think the issue is that it doesn't have the npc it's opening the dialogue from. Here's the wiki page on /dialogue: https://minecraft.wiki/w/Commands/dialogue

Minecraft Wiki

Opens an NPC dialogue screen to the player(s), or changes the dialogue displayed by an NPC.

swift ember
#

Dialogue open

vapid thorn
shrewd ether
#

Is there a way to open a dialogue even if the npc is like, 1000 blocks away

nocturne moat
#

Ticking area

shrewd ether
#

I already try this, but the game says that the player is out of the range

eternal fossil
#

to open a npc the npc needs to be near the player idk how near but it can be however far it wants to be if it is vertical

minor star
#

then you can make the npc have buttons for them to tp to