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

Method SelfSetup

src/SB/Game/zNPCTypeAmbient.cpp:199–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 S32 idx;
198 U32 anim = 0;
199
200 switch (gid)
201 {
202 case 'NGN0':
203 case 'NGN6':
204 case 'NGN7':
205 idx = 1;
206 break;
207 default:
208 idx = 1;
209 break;
210 }
211
212 if (idx >= 0)
213 {
214 anim = g_hash_ambianim[idx];

Callers

nothing calls this directly

Calls 7

xBehaveMgr_GetSelfFunction · 0.85
AddBaselineFunction · 0.85
BrainBeginMethod · 0.80
AddGoalMethod · 0.80
BrainEndMethod · 0.80
SetSafetyMethod · 0.80
SubscribeMethod · 0.45

Tested by

no test coverage detected