MCPcopy Create free account
hub / github.com/MergHQ/CRYENGINE / RaiseError

Method RaiseError

Code/CryEngine/CryScriptSystem/ScriptSystem.cpp:2273–2287  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

2271
2272//////////////////////////////////////////////////////////////////////////
2273void CScriptSystem::RaiseError(const char* format, ...)
2274{
2275 va_list arglist;
2276 char sBuf[2048];
2277 int nCurrentLine = 0;
2278 const char* sSourceFile = "undefined";
2279
2280 va_start(arglist, format);
2281 cry_vsprintf(sBuf, format, arglist);
2282 va_end(arglist);
2283
2284 ScriptWarning("[Lua Error] %s", sBuf);
2285
2286 TraceScriptError(sSourceFile, nCurrentLine, sBuf);
2287}
2288
2289//////////////////////////////////////////////////////////////////////////
2290void CScriptSystem::LoadScriptedSurfaceTypes(const char* sFolder, bool bReload)

Callers 15

ParsePostureInfoFunction · 0.80
PushGoalMethod · 0.80
DynOmniLightEventMethod · 0.80
ExposeClassMethod · 0.80
BuildDispatchTableMethod · 0.80
BuildSynchTableMethod · 0.80
ProxyFunctionMethod · 0.80
DelegateAuthorityMethod · 0.80
PushGameScopeMethod · 0.80
PopGameScopeMethod · 0.80
AddGameElementMethod · 0.80

Calls 2

cry_vsprintfFunction · 0.85
ScriptWarningFunction · 0.85

Tested by

no test coverage detected