TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ AnimationType

int Terraria.ModLoader.ModNPC.AnimationType
getset

Determines which type of vanilla NPC this ModNPC will copy the animation/framing logic of, which includes checks to sets such as

See also
F:Terraria.Main.npcFrameCount, F:Terraria.ID.NPCID.Sets.ExtraFramesCount

and , and others. For example, selecting the Guide's type will copy how many frames, extra frames, and attack frames the Guide has, and use those value for animation of this NPC. This is entirely based off of type and not the ModNPC instance itself; so be cautious if you change this NPC's type.

Definition at line 53 of file ModNPC.cs.

53{ get; set; }