Plugins · Value
Which NPC is this
The name of the NPC an entity is the body of, if it is one.
m.npc.of_entity
In a flow
“When a player right-clicks an entity → Which NPC is this → If Found → Open a menu.”
When a player right-clicks an entity → Which NPC is this → If Found → Open a menu.
What it does
The name of the NPC an entity is the body of, if it is one. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 2 values later steps can use. Find it under Plugins in the palette.
When to use it
Use it when the flow needs to: the name of the NPC an entity is the body of, if it is one.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Entity Entity
-
The entity it's about: wire one in, like Entity from Spawn an entity.
What goes there: Type it in the side panel, or wire in an entity. e.g. Zombie
If it's empty: Optional. Left empty and unwired, the step runs without it.
Values it gives
- Name Text
-
The NPC's name, empty if it isn't one. e.g. guide
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Found Yes / no
-
True when it is an NPC. e.g. true
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more