← Back to Index

NpcRequestPacket (98)

Used for a number of interactions with the NPC Component
A request is made from the client during an interaction with an NPC then the request is processed by the server. Actor MUST have the NPCComponent to be handled. We currently only use this for EDU, but the goal was to expose the NPC Component to creators.
Field Name Type Field Index Description
NPC Runtime ID (Required) ActorRuntimeID 0

ActorRuntimeID

Field Name Type Field Index Description
Actor Runtime ID (Required) varuint64 0
Request Type (Required) uint8 1
Enum Values:
Index Value
0 SetActions
1 ExecuteAction
2 ExecuteClosingCommands
3 SetName
4 SetSkin
5 SetInteractText
6 ExecuteOpeningCommands
Actions (Required) string 2
Action Index (Required) uint8 3
Scene Name (Required) string 4