Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008008opensim[REGION] Scripting Enginepublic2016-08-26 07:442016-08-28 00:52
Reportercuteulala 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008008: collision_start Only works on the root prim not children
Descriptioncollision_start only activates when hitting the root prim of a linked build instead of activating when hitting the entire linked build like normal
Steps To ReproduceLink 2 prims next to another large enough for collision testing put this script in root in the link. The child prim linked to the root wont activate the roots sound in a link

default
{
    collision_start(integer total_num)
    {
        llPlaySound( llGetInventoryName( INVENTORY_SOUND,0 ), 10 );
    }
}
Additional InformationUBODE
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineOther
Script Engine
EnvironmentUnknown
Mono VersionNone
ViewerSingularity Latest
Attached Files

- Relationships

-  Notes
(0031066)
djphil (reporter)
2016-08-27 22:08

If you add llVolumeDetect(TRUE) in state_entry(), it work fine.

default
{
    state_entry()
    {
        llVolumeDetect(TRUE);
    }

    collision_start(integer number)
    {
        llPlaySound(llGetInventoryName(INVENTORY_SOUND, 0), 1.0);
    }
}
(0031067)
UbitUmarov (administrator)
2016-08-28 00:52

this seems a old bug, or a "recent" SL change
better test with llOwnerSay since sound may fail by its own reason
hope its now better on master.

- Issue History
Date Modified Username Field Change
2016-08-26 07:44 cuteulala New Issue
2016-08-26 07:46 cuteulala Steps to Reproduce Updated View Revisions
2016-08-27 22:08 djphil Note Added: 0031066
2016-08-28 00:52 UbitUmarov Note Added: 0031067


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker