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

Function NPC_BehaviorSet_Tusken

code/game/NPC.cpp:1505–1521  ·  view source on GitHub ↗

------------------------- NPC_BehaviorSet_Tusken ------------------------- */

Source from the content-addressed store, hash-verified

1503-------------------------
1504*/
1505void NPC_BehaviorSet_Tusken( int bState )
1506{
1507 switch( bState )
1508 {
1509 case BS_STAND_GUARD:
1510 case BS_PATROL:
1511 case BS_STAND_AND_SHOOT:
1512 case BS_HUNT_AND_KILL:
1513 case BS_DEFAULT:
1514 NPC_BSTusken_Default();
1515 break;
1516
1517 default:
1518 NPC_BehaviorSet_Default( bState );
1519 break;
1520 }
1521}
1522
1523/*
1524-------------------------

Callers 1

NPC_RunBehaviorFunction · 0.85

Calls 2

NPC_BSTusken_DefaultFunction · 0.85
NPC_BehaviorSet_DefaultFunction · 0.70

Tested by

no test coverage detected