#Any way to fix this?
1 messages · Page 1 of 1 (latest)
So for the NPC the /dialogue open doesn't work if the player is not on the range. Even if the NPC is in tickingarea 😞
You can use structure block to save the NPC
Load the NPC when ever you wanted
hmm ok
And if there is no player on that region kill/tp the npc
So there is no mess with npc
im making something where there are shops, and in the first dialogue you can choose the category of item to buy
so would I run the structure command on the press of a category
and then test if an NPC is at a location
So you want to make a stationary [there is only one place where you can use the NPC]
?
NPC dialogue only open if a player is in range to that NPC!
Is there is anything missing on that statement?
no there are multiple regions relatively close to each other
What i mean -
Is the shop are in fixed position
Or the shop can be accessible to players anywhere in the world
oh
I know what to do
fixed position
Then store the NPC near to the shop!
If you wanna make a wherever shop
No need to use structure
You need a chain a lil bigger
1st save the npc on a structure block
Then when you wanna open the dialogue to a player wherever first step is /place the npc structure
Then you can use the /dialogue
After the player closes you can kill the npc
Bro the shop is in fixed place no need for this 😄
thank you, but like he said above, the shop is fixed
I know, I've said if he wants for everywhere shop
If you use structure block combination then there is a slight delay for to open the NPC
Just hide the npc near of the shop to avoid the ticking error
Still working tho
Need to run 2 tick aka. 2 click
yeah, i have space under my map.
There's /execute
For you the easy and comfortable way is storing the NPC near/bottom of the Shop.
If you like to complicate/generalise the NPC use do this way.🙂