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

Method LassoNotify

src/SB/Game/zNPCTypeRobot.cpp:154–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void zNPCRobot::LassoNotify(en_LASSO_EVENT event)
155{
156 if (!IsDead())
157 {
158 zNPCCommon::LassoNotify(event);
159 switch (event)
160 {
161 case LASS_EVNT_GRABSTART:
162 psy_instinct->GoalSet(0x4e47525d, 0); // NPC_GOAL_LASSOGRAB??
163 break;
164 }
165 }
166}
167
168void zNPCRobot_Timestep(xScene* sc, float dt)
169{

Callers 5

ExitMethod · 0.45
LassoStartCBFunction · 0.45
LassoDestroyCBFunction · 0.45
LassoYankCBFunction · 0.45
LassoStopCBFunction · 0.45

Calls 3

IsDeadFunction · 0.85
GoalSetMethod · 0.80
LassoNotifyFunction · 0.50

Tested by

no test coverage detected