MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / AllowGetIn

Function AllowGetIn

engine/Poseidon/AI/AIArcade.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63static void AllowGetIn(AIGroup* group, bool allow = true)
64{
65 for (int i = 0; i < MAX_UNITS_PER_GROUP; i++)
66 {
67 AIUnit* unit = group->UnitWithID(i + 1);
68 if (unit)
69 {
70 unit->AllowGetIn(allow);
71 }
72 }
73}
74
75static bool IsTargetValid(const Target* info, AIUnit* leader)
76{

Callers 3

ArcadeTalkGetOutFunction · 0.85
ProcessJoinGroupsFunction · 0.85
ProcessGetInMethod · 0.85

Calls 2

UnitWithIDMethod · 0.80
AllowGetInMethod · 0.80

Tested by

no test coverage detected