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:<div><br></div><div><a href="http://forge.opensimulator.org/gf/project/extsim/scmsvn/?action=browse&path=%2Ftrunk%2FExtSimPlugin%2FModules%2FExtSim.cs&view=markup">http://forge.opensimulator.org/gf/project/extsim/scmsvn/?action=browse&path=%2Ftrunk%2FExtSimPlugin%2FModules%2FExtSim.cs&view=markup</a></div>

<div><br></div><div>(Had to redefine a few methods that were incorrect), but i'm stuck at trying to find the definitions for InventoryItemBase.InvType</div><div><br></div><div>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.</div>

<div><br></div><div>Anyone know the integer keys for this parameter? Or have an up-to-date method for adding Scripts to newly rezzed Prims?</div><div><br>Regards,</div><div>Chris.<br clear="all"><br>-- <br><div>Chris Stevens</div>

<div>Lead Programmer<br>Daden Limited<br><br>t: +44 (0)121 250 5678<br>e: <a href="mailto:chris.stevens@daden.co.uk" target="_blank">chris.stevens@daden.co.uk</a><br>w: <a href="http://www.daden.co.uk" target="_blank">www.daden.co.uk</a><br>

skype: christopher.michael.stevens<br>sl: <a href="http://www.slurl.com/secondlife/daden%20prime/160/184/26" target="_blank">http://www.slurl.com/secondlife/daden%20prime/160/184/26</a><br>sl IM: Chris Taselian<br><br><span style="font-family:Arial, sans-serif;font-size:12px;border-collapse:collapse">Daden specialise in immersive learning & training systems, built environment visualisations, and creating interactive virtual personalities (chatbots). </span><br>

<br>Daden are a Linden Lab Gold Solution Provider for Second Life.</div><br>
</div>