MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setLocalVariable

Function setLocalVariable

Engine/source/console/console.cpp:814–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814void setLocalVariable(const char *name, const char *value)
815{
816 name = prependPercent(name);
817 gEvalState.getCurrentFrame().setVariable(StringTable->insert(name), value);
818}
819
820void setBoolVariable(const char *varName, bool value)
821{

Callers 1

Calls 3

prependPercentFunction · 0.85
setVariableMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected