|
Scalar Tardis
SL Scientist/Engineer
Join date: 5 Nov 2005
Posts: 249
|
01-08-2007 03:21
Is there a way for a scripted object to write a script for some other object?
I am contemplating writing a HUD UI for live, real-time editing of a particle effects generator.
When all done, the final particle effects are to be written out as constants into the scripted particle generator object itself.
I don't want to store the data in a notecard, because notecards are slow but writing them into an object's script as constants would lead to instant loading when the script runs.
Is anything like this possible?
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-08-2007 04:00
From: Scalar Tardis Is there a way for a scripted object to write a script for some other object?
I am contemplating writing a HUD UI for live, real-time editing of a particle effects generator.
When all done, the final particle effects are to be written out as constants into the scripted particle generator object itself.
I don't want to store the data in a notecard, because notecards are slow but writing them into an object's script as constants would lead to instant loading when the script runs.
Is anything like this possible? I'm afraid not. There is no way for a script to generate a script or a notecard either. All you can do is establish a communications channel with the particle effects gnerator and send it the required data. It can then store the data locally in memory and/or write it into the description field for additional 'backup'
|