|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows you to change the emote that the NPC will pick.
| closestPlayer | The T:Terraria.Player closest to the NPC. You can check the biome the player is in and let the NPC pick the emote that corresponds to the biome. |
| emoteList | A list of emote IDs from which the NPC will randomly select one |
| otherAnchor | A T:Terraria.GameContent.UI.WorldUIAnchor instance that indicates the target of this emote conversation. Use this to get the instance of the P:Terraria.ModLoader.ModNPC.NPC or T:Terraria.Player this NPC is talking to. |
Definition at line 116 of file ModNPC.cs.