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

Method NPCMessage

src/SB/Game/zNPCGoalVillager.cpp:319–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319S32 zNPCGoalPlayerNear::NPCMessage(NPCMsg* mail)
320{
321 S32 handled = 0;
322
323 switch (mail->msgid)
324 {
325 case NPC_MID_TALKSTART:
326 if (stat == GOAL_STAT_PROCESS)
327 {
328 handled = 1;
329 flg_plyrnear |= (1 << 0);
330 }
331 break;
332 }
333
334 return handled;
335}
336
337void zNPCGoalPlayerNear::ChkCheatMedic()
338{

Callers

nothing calls this directly

Calls 3

DoAutoAnimFunction · 0.85
PlatAnimSetMethod · 0.80
SndPlayRandomMethod · 0.80

Tested by

no test coverage detected