[Opensim-users] Adding Scripts to Objects on Rez in 7.1

Chris Stevens chris.stevens at daden.co.uk
Mon Aug 1 16:56:22 UTC 2011


Query on adding scripts to prims on rez: I've managed to create a prim which
contains an inventory item by using the most up to date versions of this:

http://forge.opensimulator.org/gf/project/extsim/scmsvn/?action=browse&path=%2Ftrunk%2FExtSimPlugin%2FModules%2FExtSim.cs&view=markup

(Had to redefine a few methods that were incorrect), but i'm stuck at trying
to find the definitions for InventoryItemBase.InvType

Apparently TaskInventoryItem.InvType = 10; was scripts... but for
InventoryBaseItem.InvType it's a texture, and I can't find anywhere in the
opensim docs the value list for InventoryItemBase.InvType or any Enum for
it.

Anyone know the integer keys for this parameter? Or have an up-to-date
method for adding Scripts to newly rezzed Prims?

Regards,
Chris.

-- 
Chris Stevens
Lead Programmer
Daden Limited

t: +44 (0)121 250 5678
e: chris.stevens at daden.co.uk
w: www.daden.co.uk
skype: christopher.michael.stevens
sl: http://www.slurl.com/secondlife/daden%20prime/160/184/26
sl IM: Chris Taselian

Daden specialise in immersive learning & training systems, built environment
visualisations, and creating interactive virtual personalities (chatbots).

Daden are a Linden Lab Gold Solution Provider for Second Life.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20110801/b8c739e4/attachment.html>


More information about the Opensim-users mailing list