OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
/// <summary>
/// Stop a script which is in this prim's inventory.
/// </summary>
/// <param name="itemId"></param>
/// <param name="sceneObjectBeingDeleted">
/// Should be true if this script is being removed because the scene
/// object is being deleted.  This will prevent spurious updates to the client.
/// </param>
Stop a script which is in this prim's inventory.
Stop a script which is in this prim ' s inventory .
public void StopScriptInstance(UUID itemId)
        {
            TaskInventoryItem scriptItem;
            lock (m_items)
                m_items.TryGetValue(itemId, out scriptItem);
            if (scriptItem != null)
            {
                StopScriptInstance(scriptItem);
            }
            else
            {
                m_log.WarnFormat(
                    "[PRIM INVENTORY]: " +
                    "Couldn't stop script with ID {0} since it couldn't be found for prim {1}, {2} at {3} in {4}",
                    itemId, m_part.Name, m_part.UUID, 
                    m_part.AbsolutePosition, m_part.ParentGroup.Scene.RegionInfo.RegionName);
            }
        }
public void StopScriptInstance ( UUID itemId ) { TaskInventoryItem scriptItem ; lock ( m_items ) m_items . TryGetValue ( itemId , out scriptItem ) ; if ( scriptItem != null ) { StopScriptInstance ( scriptItem ) ; } else { m_log . WarnFormat ( " " + " " , itemId , m_part . Name , m_part . UUID , m_part . AbsolutePosition , m_part . ParentGroup . Scene . RegionInfo . RegionName ) ; } }
Stop a script which is in this prim's inventory.
Stop a script which is in this prim ' s inventory .
itemId
UUID
None
sceneObjectBeingDeleted
Should be true if this script is being removed because the scene
object is being deleted.  This will prevent spurious updates to the client.
Should be true if this script is being removed because the scene object is being deleted . This will prevent spurious updates to the client .