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

Function ScriptExecute

engine/Poseidon/Game/Scripting/Scripts.cpp:574–580  ·  view source on GitHub ↗

namespace Poseidon

Source from the content-addressed store, hash-verified

572
573} // namespace Poseidon
574GameValue ScriptExecute(const GameState* state, GameValuePar oper1, GameValuePar oper2)
575{
576 using namespace Poseidon;
577 DoAssert(oper2.GetType() == GameString) Script* script = new Script(oper2, oper1);
578 GWorld->AddScript(script);
579 return NOTHING;
580}
581namespace Poseidon
582{
583

Callers

nothing calls this directly

Calls 2

AddScriptMethod · 0.80
GetTypeMethod · 0.45

Tested by

no test coverage detected