Jump to content
  • 0

Script counts


Mary Zimmer
 Share

You are about to reply to a thread that has been inactive for 2385 days.

Please take a moment to consider if this thread is worth bumping.

Question

  • 0

It sounds an awful lot!    

I suggest you rez a prim, and put this script into it.   Then you could remove all your attachments and then wear them again, one by one, touching the prim each time to see what difference each one makes.

That's going to be better than trying to guess, I think.

default{	state_entry()	{		//llSay(0, "Hello, Avatar!");	}	touch_start(integer total_number)	{		key k = llDetectedKey(0);		list temp = llGetObjectDetails(k,[OBJECT_TOTAL_SCRIPT_COUNT,OBJECT_RUNNING_SCRIPT_COUNT]);		llRegionSayTo(k,0,"You are wearing "+(string)llList2Integer(temp,0)+" scripts, of which "+(string)llList2Integer(temp,1)+" are running.");	}}
  • Like 1
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

It sounds an awful lot!    

I suggest you rez a prim, and put this script into it.   Then you could remove all your attachments and then wear them again, one by one, touching the prim each time to see what difference each one makes.

That's going to be better than trying to guess, I think.

default{	state_entry()	{		//llSay(0, "Hello, Avatar!");	}	touch_start(integer total_number)	{		key k = llDetectedKey(0);		list temp = llGetObjectDetails(k,[OBJECT_TOTAL_SCRIPT_COUNT,OBJECT_RUNNING_SCRIPT_COUNT]);		llRegionSayTo(k,0,"You are wearing "+(string)llList2Integer(temp,0)+" scripts, of which "+(string)llList2Integer(temp,1)+" are running.");	}}
  • Like 1
Link to comment
Share on other sites

  • 0

The answer is typically that the extra mountain of scripts is in your hair. Old-style hair or hair that has been scripted in an unnecessarily complicated way will have a script in each prim.  The same is true of HUDs, especially if they have a mess of scripted prim buttons.  You can sometimes simplify things by removing those scripts with a scrubber script, but you take a risk that removing scripts will remove some vital functions.  Therefore, it's not a good idea to go ripping scripts out unless you have a backup.

You can find out exactly where the scripts are, BTW, by using World >>> About Land >>> General and then clicking Script Info >> Avatar .  You'll get a full, detailed list.

  • Like 4
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2385 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...