Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Most efficient method?

AnnaBeth Fellini
Registered User
Join date: 21 Jan 2007
Posts: 6
02-13-2008 08:34
Hi I am currently working on a object that will rez any of a number of other objects from its inventory. My question is what is the most efficient method (most sim friendly) of selecting the object to be rezzed? I am rather new to scripting in SL and this is my first rather ambitious attempt. So any help will be greatly appreciated. I already have a script that will rez any of the individual objects in the inventory, but Im at the point where Im adding the menu selection and having a bit of a debate as to which method to use.

Option 1:
A single script that opens a dialog to select the object, then sets the object in llRezobject accordingly.

Option 2:
A Control script that turns the rez script for each object scripts off and on according to a menu selection.


Thanks in advance..
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
02-13-2008 10:29
Option 1 is always better. Less scripts is the best solution for all, where possible. It decreases the load on the sim and doesn't cause as much lag when you teleport in and out (in an attachment) or rez the object.
_____________________