MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / isNpcStateDriven

Method isNpcStateDriven

src/logic/NpcScriptState.cpp:420–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420bool NpcScriptState::isNpcStateDriven()
421{
422 VobTypes::NpcVobInformation npc = VobTypes::asNpcVob(m_World, m_HostVob);
423
424 return VobTypes::getScriptObject(npc).start_aistate != 0;
425}
426
427size_t NpcScriptState::getCurrentStateSym()
428{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected