[sldev] finding out the uuid of a newly created object

Stan Vernier sv193702 at ohio.edu
Wed Feb 13 08:50:46 PST 2008


I started messing around where the messages from the server are dealt 
with for objects.  I can see when I create a new object, which is a 
great start.  For some reason though, The UUID that is in the message is 
not the same as what you get using the gSelectMgr.  Anyone have any 
ideas why this is happening? 

Stan Vernier wrote:
> Sounds like a good place to start looking.  Thanks for the tip.
>
> Teravus Ovares wrote:
>> When you create an object, you get a full object update with flags 
>> that include the CreateSelected flag "0x00000002".  I'm not sure how 
>> to do it within the client source, however, the protocol allows for 
>> you to be able to locate the object you created with the 
>> CreateSelected flag in the object flags.
>> -Teravus
>>
>>  
>> On 2/12/08, *Stan Vernier* <sv193702 at ohio.edu 
>> <mailto:sv193702 at ohio.edu>> wrote:
>>
>>     I'm trying to automatically create an object and then retain
>>     control of
>>     it so that I can add a texture, color, etc.  I currently know how to
>>     manipulate an object given a handle of it via LLViewerObject and I
>>     know
>>     how to simulate a message to create an object with custom 
>> size/shape.
>>     But I don't know how to merge these two together.  Creation of the
>>     object doesn't seem to have a way to retain a reference to the 
>> object
>>     without the edit window or something similar in place.  Is there a
>>     global list that contains visible objects that I can look 
>> through, or
>>     would I be able to somehow create an event for when a new object
>>     is created?
>>     _______________________________________________
>>     Click here to unsubscribe or manage your list subscription:
>>     /index.html
>>
>>
>
>



More information about the SLDev mailing list