Don't click here unless you want to be banned.

LSL Wiki : llGetScriptState

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl814.us.archive.org
integer llGetScriptState(string name)

Returns TRUE if the script identified by name is running. This allows one script to check on another.

As of SL 1.18.4 this correctly returns FALSE if a script has encountered a run-time error (like a stack-heap collision or a bounds-check error).

See llRemoteLoadScriptPin and llResetOtherScript for more fun things that can be done with this.

Also see llSetScriptState.


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Inventory | Script | State
Comments [Hide comments/form]
Look in the mirror, Chris. Why isn't a "stack-heap collision" called a "stack-heap collision error" yet, supposedly (according to you anyway), a "bounds check" is a "bounds-check error" (note correct capitalization--or lack thereof)?
-- EepQuirk (2006-06-14 19:12:19)
Please resolve these statements: "Currently NOT FALSE for errors." "CHANGED in 1.18.4, now TRUE for errors."
-- 66-234-57-118.nyc.cable.nyct.net (2007-11-25 20:30:45)
Attach a comment to this page: