AggrorJorn Posted March 26, 2010 Share Posted March 26, 2010 I've noticed that a lot of commands that I am using in Lua script can be mixed with the ones from C++. Some times a command works and sometimes it doesn't. The weird thing is that the C++ commands often turn blue while the actual Lua command stays black . Place the following in your lua script editor and you'll see: --both commands work in the Lua script editor -- Lua command body:SetCollisionType(1,1) --C++ EntityType (body,1) --Lua command in combination with C++. Doesn't work ground:PaintEntity(material) --command that you should use, but does not turn blue ground:Paint(material) Quote Link to comment Share on other sites More sharing options...
Pancakes Posted March 26, 2010 Share Posted March 26, 2010 +1 Quote Core I5 2.67 / 16GB RAM / GTX 670 Zbrush/ Blender / Photoshop CS6 / Renoise / Genetica / Leadwerks 3 Link to comment Share on other sites More sharing options...
AggrorJorn Posted April 21, 2010 Author Share Posted April 21, 2010 Josh's reply on a blog: I haven't done anything to that, but the highlighted words are all contained in ui/commands.txt. Aggror: I have updated the commands.txt with a lot of commands as wel as the keyboard and mouse inputs. commands.txt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.