How to insert a new field to Variable table from LuaConsole?
Posted: Fri Jan 13, 2017 7:59 am
Hey Guys;
First of all thank you very much for your great product. It did took a lot of weight out of our shoulders.
Here is a point i could not succeeded to proceed. I would like our designers to be able to insert a field to Variable table from the console. I am not very familiar with the Lua syntax but tried this one from the LuaConsole at runtime:
but get an exception such as:
threw exception 'Invoke function call on non function value.'
What is the right point to achieve this?
Thank you.
First of all thank you very much for your great product. It did took a lot of weight out of our shoulders.
Here is a point i could not succeeded to proceed. I would like our designers to be able to insert a field to Variable table from the console. I am not very familiar with the Lua syntax but tried this one from the LuaConsole at runtime:
Code: Select all
Variable.insert({name="test_var", initial_value="0", description="hello new var"})
threw exception 'Invoke function call on non function value.'
What is the right point to achieve this?
Thank you.