Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misinformation About /agent Command on line 2088 of non-mob-runtime-identifiers.md #651

Closed
Andexter8 opened this issue May 28, 2023 · 0 comments

Comments

@Andexter8
Copy link
Contributor

There is a problem on line 2088 of non-mob-runtime-identifiers.md where it says that there is no way to control the a player’s agent by using the /agent command, even though you CAN actually control a players agent by using an NPC, the /execute command, and the /agent command, you just put this command into an NPC button command because unlike players, NPC’s CAN actually use the /agent command: "/execute as @initiator run /agent turn left ", once you put this command into the NPC then once a player clicks on the button in the NPC's dialogue menu then if they already have an agent spawned in then it will make their agent turn left, and but if they don't already have an agent then it will spawn the agent in for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant