I just discovered a feature of Lua I've never seen mentioned.
#3
You can set multiple variables at once.
Instead of having to go
[lua]
a = 1
b = "stringy"
c = {a, b}
[/lua]

you can go
[lua]
a,b,c = 1,"stringy",{a,b}
[/lua]

Major script size reducer.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)