MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / FindAITargetObject

Function FindAITargetObject

TombEngine/Game/control/box.cpp:2346–2351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2344}
2345
2346void FindAITargetObject(CreatureInfo* creature, int objectNumber)
2347{
2348 const auto& item = g_Level.Items[creature->ItemNumber];
2349
2350 FindAITargetObject(creature, objectNumber, item.ItemFlags[3], true);
2351}
2352
2353void FindAITargetObject(CreatureInfo* creature, int objectNumber, int ocb, bool checkSameZone)
2354{

Callers 4

SophiaLeighTowerControlFunction · 0.85
ControlFishSwarmFunction · 0.85
BaddyControlFunction · 0.85
GetAITargetFunction · 0.85

Calls 5

GetSectorFunction · 0.85
phd_sinFunction · 0.85
phd_cosFunction · 0.85
emptyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected