Difference between revisions of "LlScriptDanger"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
|func=llScriptDanger | |func=llScriptDanger | ||
|return_type=integer|p1_type=vector|p1_name=pos | |return_type=integer|p1_type=vector|p1_name=pos | ||
|func_footnote | |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 {{LSLG|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. | |return_text=boolean, that is {{LSLG|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. | ||
|spec | |spec | ||
Line 16: | Line 16: | ||
|also_articles | |also_articles | ||
|notes | |notes | ||
|cat1= | |cat1=Parcel | ||
|cat2=Script | |cat2=Script | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 13:49, 7 April 2007
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 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 |
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.