MCPcopy Create free account
hub / github.com/JACoders/OpenJK / NPC_BehaviorSet_Remote

Function NPC_BehaviorSet_Remote

codeJK2/game/NPC.cpp:1344–1359  ·  view source on GitHub ↗

------------------------- NPC_BehaviorSet_Remote ------------------------- */

Source from the content-addressed store, hash-verified

1342-------------------------
1343*/
1344void NPC_BehaviorSet_Remote( int bState )
1345{
1346 switch( bState )
1347 {
1348 case BS_STAND_GUARD:
1349 case BS_PATROL:
1350 case BS_STAND_AND_SHOOT:
1351 case BS_HUNT_AND_KILL:
1352 case BS_DEFAULT:
1353 NPC_BSRemote_Default();
1354 break;
1355 default:
1356 NPC_BehaviorSet_Default( bState );
1357 break;
1358 }
1359}
1360
1361void NPC_BSSentry_Default( void );
1362

Callers 1

NPC_RunBehaviorFunction · 0.70

Calls 2

NPC_BSRemote_DefaultFunction · 0.70
NPC_BehaviorSet_DefaultFunction · 0.70

Tested by

no test coverage detected