Difference between revisions of "LlScriptDanger"
Jump to navigation
Jump to search
m |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
|func_id=246|func_sleep=0.0|func_energy=10.0 | |func_id=246|func_sleep=0.0|func_energy=10.0 | ||
|func=llScriptDanger | |func=llScriptDanger | ||
|return_type=integer|p1_type=vector|p1_name=pos|p1_desc=position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which "owns" the object.|region coordinates}}|p1_hover=position in region coordinates. | |return_type=integer|return_subtype=boolean | ||
|p1_type=vector|p1_name=pos|p1_desc=position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which "owns" the object.|region coordinates}}|p1_hover=position in region coordinates. | |||
|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= | |return_text=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 |
Latest revision as of 03:01, 4 January 2014
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llScriptDanger( vector pos );246 | Function ID |
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.