removed useless _ folders
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<Solution name="v7D_Advanced_Visitor_Greeter">
|
||||
<Project name="v7D_Advanced_Visitor_Greeter" path="v7D_Advanced_Visitor_Greeter\v7D_Advanced_Visitor_Greeter.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,101 @@
|
||||
// :CATEGORY:Greeter
|
||||
// :NAME:v7D_Advanced_Visitor_Greeter
|
||||
// :AUTHOR:Void Singer
|
||||
// :CREATED:2010-02-01 19:37:23.033
|
||||
// :EDITED:2013-09-18 15:39:09
|
||||
// :ID:943
|
||||
// :NUM:1353
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// v7D_Advanced_Visitor_Greeter
|
||||
// :CODE:
|
||||
/*//( v7-D Advanced Avatar Greeter v1.4 )//*/
|
||||
|
||||
|
||||
|
||||
/*//-- NOTE:
|
||||
|
||||
Remove Any Instances Of "(gLstAvs = []) + " Or "(gLstTms = []) + " When Compiling This
|
||||
|
||||
Script To MONO. They Are Provided For LSO Memory Preservation And Do Nothing In MONO
|
||||
|
||||
//*/
|
||||
|
||||
|
||||
|
||||
list gLstAvs; /*//-- List Of Avatars Keys Greeted --//*/
|
||||
|
||||
list vLstChk; /*//-- List Of Av Key Being Checked During Sensor Processing --//*/
|
||||
|
||||
integer vIdxLst; /*//-- Index Of Checked Item In List (reused) --//*/
|
||||
|
||||
integer gIntMax = 500; /*//-- Maximum Number of Names To Store --//*/
|
||||
|
||||
/*//-- Previous Code Line PreSet to Ease Removing Dynamic Memory Limitation Code --//*/
|
||||
|
||||
|
||||
|
||||
/*//-- Next Code Line Belongs to Dynamic Memory Limitation Section --//*/
|
||||
|
||||
integer int_MEM = 1000; /*//-- memory to preserve for safety--//*/
|
||||
|
||||
|
||||
|
||||
/*//-- Start Av Culling Section --//*/
|
||||
|
||||
integer gIntPrd = 172800; /*//-- Number Of Seconds After Detection To Store Av --//*/
|
||||
|
||||
integer vIntNow; /*//-- Integer To Store Current Time During Sensor Processing --//*/
|
||||
|
||||
list gLstTms; /*//-- List Of Most Recent Times Avs Were Greeted At --//*/
|
||||
|
||||
list vLstTmt; /*//-- List To Store Timeout During Sensor Processing --//*/
|
||||
|
||||
/*//-- End Av Culling Section --//*/
|
||||
|
||||
|
||||
|
||||
default{
|
||||
|
||||
state_entry(){
|
||||
|
||||
/*//-- Next Code Line Belongs To Dynamic Memory Limitation Section --//*/
|
||||
|
||||
gIntMax = 1000; /*//-- Intial list Max --//*/
|
||||
|
||||
llSensor( "", "", AGENT, 95.0, PI ); /*//-- Pre-Fire Sensor For Immediate Results --//*/
|
||||
|
||||
llSetTimerEvent( 30.0 ); /*//-- Sensor Repeat Frequency --//*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
timer(){
|
||||
|
||||
llSensor( "", "", AGENT, 95.0, PI ); /*//-- Look For Avatars --//*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
sensor( integer vIntTtl ){
|
||||
|
||||
/*//-- Save Current Timer to Now, Then Add Period and Save To Timeout--//*/
|
||||
|
||||
vLstTmt = (list)(gIntPrd + (vIntNow = llGetUnixTime()));
|
||||
|
||||
/*//-- Previous Code Line Belongs to Av Culling Section --//*/
|
||||
|
||||
@Building;{
|
||||
|
||||
/*//-- Is This Av Already In Our List? --//*/
|
||||
|
||||
if (~(vIdxLst = llListFindList( gLstAvs, (vLstChk = (list)llDetectedKey( --vIntTtl )) ))){
|
||||
|
||||
/*//-- Delete The Old Entries & Add New Entries to Preserve Order --//*/
|
||||
|
||||
gLstAvs = llDeleteSubList( (gLstAvs = []) + gLstAvs, vIdxLst, vIdxLst ) + vLstChk;
|
||||
|
||||
/*//-- Next Code Line Belongs to Av Culling Section --//*/
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="v7D_Advanced_Visitor_Greeter" guid="D848465A-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D8484739-6C00-1014-B904-200204C60A89">
|
||||
<Script name="v7D_Advanced_Visitor_Greeter_1.lsl" guid="D84872B2-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user