llScriptDanger

From Second Life Wiki
Revision as of 02:01, 4 January 2014 by Strife Onizuka (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: integer llScriptDanger( vector pos );
0.0 Forced Delay
10.0 Energy

Returns a boolean (an integer) that is TRUE if pos is over public land, sandbox land, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.

• vector pos position in region coordinates

The usefulness of this function is limited as it does not give the reason why the script would be in danger. llGetParcelFlags on the other hand can be used in much the same way and gives more detailed information.

Examples

Deep Notes

Signature

function integer llScriptDanger( vector pos );