Ask Your Question
0

How can the dialogue command be directed towards the player who clicks the button instead of the closest player?

asked 2022-08-15 11:00:00 +0000

lakamha gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-11-23 14:00:00 +0000

nofretete gravatar image

One way to direct the dialogue command towards the player who clicks the button instead of the closest player is to use the player's ID or name in the command. Here's an example:

  1. Assign a unique ID or name to each player in the game.
  2. Add a button to the game that triggers the dialogue command.
  3. In the command, include a parameter that identifies the player who clicked the button. For example: "/dialogue start player1".
  4. Use a script or program to extract the player ID or name from the button click event and insert it into the dialogue command.
  5. When the command is executed, it will be directed towards the player with the specified ID or name, rather than the closest player.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-08-15 11:00:00 +0000

Seen: 8 times

Last updated: Nov 23 '21