Jump to content

[Answered] Change texture by UUID with dialog


MSTRPLN
 Share

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

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

Recommended Posts

You're getting a script error because you can't perform calculations (e.g. llFrand())  outside the main script.  You can only declare variables.

You need to do something like 

integer iMenuChannel;integer iTextBoxChannel;default{	state_entry()	{		iMenuChannel = (integer)(llFrand(-999999999.0) - 10000000.0);		iTextBoxChannel = (integer)(llFrand(-999999999.0) - 10000000.0);	}	on_rez(integer start_param)	{		llResetScript();//to generate new channels each time it's rezzed	}	// and so on}

 

Link to comment
Share on other sites

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

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
 Share

×
×
  • Create New...