In Pascal, I have write and writeln. Apparently Lua\'s print is similar to writeln of Pascal. Do we have som开发者_高级运维ething similar to write of Pascal? How can consecutive print commands send th
There is a method I have been calling: t1, t2 = LSL:GetDiffItem(item) where the method is declared as: GetDiffID(item, ignoreEnchant, ignoreGem, red, yellow, blue, meta, ignorePris)
I embedded Lua and want scripts to be able to read the global table but not automatically write to it so two scripts can write variables with the same name without overwriting eachother but still bein
When I was working with Lua in C#, I would add attributes to the methods I wanted to register with Lua, something like this:
I can\'t find it documented anywhere :/ (question is the title) found this but can\'t get it to work. function onCollision( event )
I downloaded the visual2008 file from here(http://luaplus.org/projects/luaplus/files), but I don\'t know how to add it to my project. It\'s not like the other libraries where I just had to add the inc
As the title says. If I have a table p in lua, is using table.remove(p) the same as p[#p] = nil if so which is quicker - I\'d guess the second, but would like s开发者_开发问答ome reassurance.
I am having problems displaying chucks of text, with paragraphs, from a database. For example, if I pass in a string such as:
I needed to get rid of physics in my game so I needed to implement a custom collision detection function (the collision detection function is being called every frame). I want to check if a rectangle
I FIXED IT! Yeeeeeeees. Ok, so I made a Key Bind script, that sets a IntValue to the byte code of a Key you press. That works all fine.