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

Function CheckArcadeScripted

engine/Poseidon/AI/AIArcade.cpp:1058–1068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056}
1057
1058static void CheckArcadeScripted(AIGroupContext* context)
1059{
1060 STATE_PREFIX
1061
1062 Script* script = group->GetScript();
1063 if (!script || script->OnSimulate())
1064 {
1065 group->SetScript(nullptr);
1066 context->_fsm->SetState(SArcadeSync, context);
1067 }
1068}
1069
1070// Talk waypoint
1071

Callers

nothing calls this directly

Calls 4

GetScriptMethod · 0.80
SetScriptMethod · 0.80
OnSimulateMethod · 0.45
SetStateMethod · 0.45

Tested by

no test coverage detected