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

Function NPC_BehaviorSet_SandCreature

code/game/NPC.cpp:1802–1817  ·  view source on GitHub ↗

------------------------- NPC_BehaviorSet_SandCreature ------------------------- */

Source from the content-addressed store, hash-verified

1800-------------------------
1801*/
1802void NPC_BehaviorSet_SandCreature( int bState )
1803{
1804 switch( bState )
1805 {
1806 case BS_STAND_GUARD:
1807 case BS_PATROL:
1808 case BS_STAND_AND_SHOOT:
1809 case BS_HUNT_AND_KILL:
1810 case BS_DEFAULT:
1811 NPC_BSSandCreature_Default();
1812 break;
1813 default:
1814 NPC_BehaviorSet_Default( bState );
1815 break;
1816 }
1817}
1818
1819/*
1820-------------------------

Callers 1

NPC_RunBehaviorFunction · 0.85

Calls 2

NPC_BehaviorSet_DefaultFunction · 0.70

Tested by

no test coverage detected