- summary: An NPC of your map plays a named animation.
- area: Game.Npc
An NPC of your map plays a named animation.
Kind event · Area Game.Npc
Make an NPC of the map play an animation given by name, without going through an emote.
WHAT TO DO WHEN YOU RECEIVE IT
1. Find the NPC PlayAnimationOnNpcEvent.npc_id on the map. The official client waits until
that NPC is on the map before going on.
2. Play PlayAnimationOnNpcEvent.animation on it.
3. SEND NOTHING BACK.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this scripted NPC behaviour broadcast by the server; nothing requests it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | animation | string | Name of the animation to play. Name invented from the client parameter it fills (SetAnimationAction's animation). | never |
| 2 | npc_id | int32 | The NPC that plays the animation. An actor id of the current map (an NPC's); the client resolves it to the map entity and waits for it. | never |