|
Dragon Eccleston
Registered User
Join date: 25 Dec 2005
Posts: 42
|
07-12-2006 10:47
So long as an object is rezed each llResetScript() will cause the script to be called with the same parameters as it was when first rezed (or copied with llRemoteLoadScriptPin()). If the object is an attachment it will hold the parameters until it is reattached (or possibly teleported haven't tried that yet). Something to keep in mind if you need to reset a script for something that had parameters passed to it, they'll always be there.
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
07-12-2006 11:03
Eh? What do you mean, exactly? How do you pass parameters to a script (beyond the on_rez event, which shouldn't fire at all when the script is just reset)?
Global variables definitely are cleared / set to default values when the script is reset, so I don't think you mean that.
Que?
|