View Full Version : LScripts = Plug-ins?

07-29-2003, 09:24 AM
I know LScripts are basically small C++ files, so if one creates LScripts is he/she essentially creating a plug-in for LightWave? :confused:

07-29-2003, 12:02 PM
Uhm yes and no.
A script is "just" what is says, a script.
The syntax is very similar to C, that's right, but it is not C code that you could compile with a C(++) compiler...you wouldn't come far until the first parse error occurs :D

However, LScripts do behave like plugins, so you can very well define them as plugins. Actually there are many similarities between LScript and the SDK.

I don't know how exactly LScript works, but the lcore3.dll is basically a huge Lightwave plugin that interprets the script and calls the proper functions like a plugin written in C does too. So you basically program the LScript plugin with your scripts...something like that

Someone please correct me if i wrote b***s*** :)

07-31-2003, 11:40 PM
A real plugin would be a real C/C++ program interfacing with Lightwave through the SDK... would be much faster than scripts and does can do anything it wants. Usually come as .p files.

A script is more like a simplified C which is probably interpreted. It comes in two variations... .ls (normal text) and .lsc (compiled).

In common language both are sometimes called plug-ins since they both add functionality to Lightwave...

08-02-2003, 11:39 AM
So all LightWave plug-ins are created with SDK?

08-02-2003, 12:42 PM

and scripts are made using the LScript manual/reference.