PDA

View Full Version : Is it possible to write LScript functions that Expressions can call?



NanoGator
09-24-2004, 05:27 PM
Hey guys,

I have a theoretical question. Is it possible to write an Lscript that expressions can access? For example: Would I be able to write my own distance function in LScript, install that into the scene somehow, then have expressions call that distance function? The idea being if I changed the function in the LSCript, then reloaded the scene, the expressions would all change too?

Thought it was worth asking. :)

faulknermano
09-25-2004, 04:29 AM
yes.


take a look at the lscript 2.6 release notes. lscript has an embedded lscript thingy for use with lightwave expressions.

NanoGator
09-25-2004, 04:42 AM
Thank ya! :)

NanoGator
09-25-2004, 06:04 PM
Heh I feel like a dumb-butt. I had completely forgottten about the SDK section of LW's site.

Sorry I didn't check there first.