Get / Set variables by Name

variablesbyname

Before I will move forward with perks I would like to show you guys how to get, set and increase variables (floats and ints) by name. You don’t need to have reference to variable to make operations on it.

In this tutorial I will create global functions that can:

  • Get/Set float by name,
  • Get/Set int by name,
  • Increase float/int by name,

Again I will use C++ for this and as always it will be super easy!

Continue reading