MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / DoAutoAnim

Method DoAutoAnim

src/SB/Game/zNPCGoalCommon.cpp:68–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68U32 zNPCGoalCommon::DoAutoAnim(en_NPC_GOAL_SPOT gspot, S32 forceRestart)
69{
70 U32 anid = ((zNPCCommon*)psyche->clt_owner)->AnimPick(goalID, gspot, this);
71
72 if (anid)
73 {
74 DoExplicitAnim(anid, forceRestart);
75 }
76
77 return anid_played;
78}
79
80U32 zNPCGoalCommon::DoExplicitAnim(U32 anid, S32 forceRestart)
81{

Callers 3

ProcessMethod · 0.80
NPCMessageMethod · 0.80
ProcessMethod · 0.80

Calls 2

DoExplicitAnimFunction · 0.85
AnimPickMethod · 0.45

Tested by

no test coverage detected