User:ANSI Soderstrom/No Script Areas
< User:ANSI Soderstrom
Jump to navigation
Jump to search
Revision as of 07:22, 8 October 2010 by ANSI Soderstrom (talk | contribs) (→All About : No Script Areas)
Leave a comment
All About : No Script Areas
Belong to the Note in llTakeControls... :
...it seems that its possible to override "No Script"-Areas. If u think u have found a "blacklisted" function, please inform me here.
Simply add following code in your Script, and be sure u have attached this Script BEFORE you enter a "No Script"-Area.
<lsl> default {
state_entry() { llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS); }
run_time_permissions(integer perm) { if(PERMISSION_TAKE_CONTROLS & perm) { llTakeControls(CONTROL_ML_LBUTTON | 0, FALSE, FALSE); llOwnerSay("I am be able to work in \"No Script\"-Areas"); } }
// further code and events ...
} </lsl>