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

Function NPC_BehaviorSet_Wampa

code/game/NPC.cpp:1780–1795  ·  view source on GitHub ↗

------------------------- NPC_BehaviorSet_Wampa ------------------------- */

Source from the content-addressed store, hash-verified

1778-------------------------
1779*/
1780void NPC_BehaviorSet_Wampa( int bState )
1781{
1782 switch( bState )
1783 {
1784 case BS_STAND_GUARD:
1785 case BS_PATROL:
1786 case BS_STAND_AND_SHOOT:
1787 case BS_HUNT_AND_KILL:
1788 case BS_DEFAULT:
1789 NPC_BSWampa_Default();
1790 break;
1791 default:
1792 NPC_BehaviorSet_Default( bState );
1793 break;
1794 }
1795}
1796
1797/*
1798-------------------------

Callers 1

NPC_RunBehaviorFunction · 0.85

Calls 2

NPC_BSWampa_DefaultFunction · 0.70
NPC_BehaviorSet_DefaultFunction · 0.70

Tested by

no test coverage detected