Difference between revisions of "LlScriptDanger"

From Second Life Wiki
Jump to navigation Jump to search
m
(Add hover texts)
Line 5: Line 5:
|func_footnote=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.
|func_footnote=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.
|func_desc
|func_desc
|return_text=boolean, that is {{LSL Const|TRUE|integer|1}} 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.
|return_text=boolean, that is {{LSL Const|TRUE|integer|1}} if '''pos''' is over {{HoverText|public land|The land owned by Governor Linden}}, {{HoverText|sandbox land|The land where you can rez objects but its autoreturn is set more than zero minute}}, land that doesn't allow everyone to edit and build, or land that doesn't allow outside scripts.
|spec
|spec
|caveats
|caveats

Revision as of 05:35, 10 May 2009

Summary

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

Returns an integer boolean, 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 );