MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setScriptValue

Method setScriptValue

Engine/source/gui/buttons/guiButtonBaseCtrl.cpp:413–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411//-----------------------------------------------------------------------------
412
413void GuiButtonBaseCtrl::setScriptValue(const char *value)
414{
415 mStateOn = dAtob(value);
416
417 // Update the console variable:
418 if ( mConsoleVariable[0] )
419 Con::setBoolVariable( mConsoleVariable, mStateOn );
420
421 setUpdate();
422}
423
424//-----------------------------------------------------------------------------
425

Callers

nothing calls this directly

Calls 2

dAtobFunction · 0.85
setBoolVariableFunction · 0.85

Tested by

no test coverage detected