HyperScript
Docs

← All of the Docs HyperCitizens

Moving and talking HyperCitizens

effectteleport npc <npc> to <location>HyperCitizens

Put it somewhere at once

teleport npc "Guide" to {spawn}
effectmake npc <npc> walk to <location>HyperCitizens

Have it find its way there on foot

make npc "Guide" walk to {market}
effectmake npc <npc> look at <location>HyperCitizens

Turn it to face a place

make npc {_npc} look at player's location
effectmake npc <npc> say <text>HyperCitizens

Players within 16 blocks see Name: text in chat

make npc "Guard" say "Hands off."
Guide and examples
command /tour:
    players only: true
    trigger:
        make npc "Guide" say "Follow me to the market."
        make npc "Guide" walk to {market}
        wait 10 seconds
        make npc "Guide" look at player's location
        make npc "Guide" say "Here we are."

every 5 minutes:
    teleport npc "Guide" to {spawn}
SyntaxEffect
teleport npc <npc> to <location>Put it somewhere at once
make npc <npc> walk to <location>Have it find its way there on foot
make npc <npc> look at <location>Turn it to face a place
make npc <npc> say <text>Players within 16 blocks see Name: text in chat
  • Walking only works over ground the NPC can cross, and not too far; for long trips teleport it.