LScript itself is reasonably powerful. The main problem with it (like any interpreted scripting language) is that its slow (even when the scripts are compiled - it's still a semi-interpreted language). There are, also, some functions that really can only be accessed by the main Lightwave APIs.
Take a look in the LScripts folders within your Lightwave installation and you should find plenty of examples that ship with the product.
I do admit though that there is a lack of accessible documentation on the subject. One aid to learning though is LScript Commander (although that is only available for Layout scripts - Look under Generic plugins). This allows you to take a sequence of Layout commands and then convert them to the corresponding LScript.
|