Doomed Zeimer Posted July 29, 2019 Share Posted July 29, 2019 (edited) I am sure this cant be just me, but is there a way to say stop me from accidentally TP'ing into a G or M rated sim? I ask this because a few times I have gotten caught in a mass Tp, or pulled to a shop without thinking about it, and ended up having to scramble to change outfits or mash the back button. Is this something that can be done Viewer side, with RLVa (like those neat get into a full sim huds)? Any thoughts or advice on this would be appreciated and if there is a better suited forum for this, please point (or shove) me in the right direction. Ideally having two more selections (Moderate, Adult and Adult)in this setting would be grand. Edited July 29, 2019 by Doomed Zeimer Clarification Link to comment Share on other sites More sharing options...
Fionalein Posted July 29, 2019 Share Posted July 29, 2019 (edited) Some adult stuff can autohide in non adult places... Maybe someone could script an RLV addon that auto-Ruths you in G/M sims... Edited July 29, 2019 by Fionalein Link to comment Share on other sites More sharing options...
Doomed Zeimer Posted July 29, 2019 Author Share Posted July 29, 2019 That's a good point that i hadn't thought about, Sim rating is something that a script can detect, that is something that is well worth looking into, thanks Fionalein 3 minutes ago, Fionalein said: Some adult stuff can autohide in non adult places... Link to comment Share on other sites More sharing options...
panterapolnocy Posted July 29, 2019 Share Posted July 29, 2019 (edited) It's a bit late here, so I'm not guaranteeing this would work, but feel free to give it a try. key regionQuery; checkRating() { llSleep(3); regionQuery = llRequestSimulatorData(llGetRegionName(), DATA_SIM_RATING); } default { on_rez (integer start_param) { llResetScript(); } state_entry() { checkRating(); llSetMemoryLimit(llGetUsedMemory() + 5120); } changed (integer change) { if (change & CHANGED_REGION) { checkRating(); } } dataserver (key queryId, string data) { if (queryId == regionQuery && (data == "PG" || data == "MATURE")) { llOwnerSay("Applying emergency outfit, '" + llGetRegionName() + "' is a region with '" + data + "' rating."); llOwnerSay("@detach=force"); // Removes ALL attachments llSleep(5); // Small pause just in case of slow regions llOwnerSay("@attach:Outfits/Emergencypg=force"); // #RLV/Outfits/Emergencypg/[items here] } } } Edited July 29, 2019 by panterapolnocy Link to comment Share on other sites More sharing options...
panterapolnocy Posted July 31, 2019 Share Posted July 31, 2019 Ah, yes, you'd need to add... llOwnerSay("@detach=n"); ... right at the beginning of state_entry() to prevent the script detaching the attachment that is running it. Link to comment Share on other sites More sharing options...
KT Kingsley Posted July 31, 2019 Share Posted July 31, 2019 (edited) 1 hour ago, panterapolnocy said: Ah, yes, you'd need to add... llOwnerSay("@detach=n"); ... right at the beginning of state_entry() to prevent the script detaching the attachment that is running it. You'd then need to include some method of issuing an llOwnerSay("@detach=y"); command, otherwise you'd be stuck with it until you either disabled RLV and relogged, or you relogged with a non-RLV viewer. Alternatively, you could give the object a name that includes the word "nostrip", "Rating tester (nostrip)" for example. (Or, I think, though I've never tried it, you could keep it in a folder – an #RLV subfolder? – whose name includes the word "nostrip".) This stops RLV commands from detaching it, but lets you detach it using the normal SL methods. Edited July 31, 2019 by KT Kingsley Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now