#Make different entity dialogues

9 messages · Page 1 of 1 (latest)

thick belfry
#

Hello I want to change the dialogue of a npcs but for each player. So if a player clicks the button he should get to the next page, but the other player should stay at the first page

rain oasis
#

A dialogue's page can be changed with /dialogue open on a button. Be sure to target the player using @initiator, so that it only affects the player who clicked the button.

thick belfry
#

Yeah that makes sense. is there also any way to make a text random whenever you click an npc?

weary monolith
thick belfry
#

Whenever you open up the npc dialogue it should be a random what he ia saying

weary monolith
thick belfry
rain oasis
#

There is a randomize function for scoreboards—you would need to create the randomTalk scoreboard objective for this to work:

/scoreboard objectives add randomTalk dummy
thick belfry