Hemdall Wanderer
Joined: 30 Nov 2006 Posts: 50
|
Posted: Fri Oct 30, 2009 12:07 pm
Problem in Lua with setting value of a zScript variable. |
Lets say I got function test(arg,arg1) and i call it with test(zs.var.m_leader,"zs.var.n_leader") I do some operations on zs.var.m_leader and got in result table t. Now I would like to assing this table to value of arg1 (not arg1) but i don't how to do that.
I've tried to do something like:
arg1 = table.concat(t," ") but in result value of arg1 has changed from zs.var.n_leader to arrays from table t.
Thanks in advance for any help. |
|