Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005362opensim[REGION] Script Functionspublic2011-02-02 21:472011-02-02 21:49
Reporternebadon 
Assigned To 
PriorityhighSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005362: llListen is being ignored by scripted child prims in linksets when said by llSay or llRegionSay but not in open chat..
DescriptionllListen is being ignored by scripted child prims in linksets, but if i say in open chat : /5 start and /5 stop, the root and child prims hear and obey the command, but if start and stop are triggered via llSay or llRegionSay, the command is ignored by child prims only, root does respond.
 
sample is below from ferris wheel we are building:

(root prim)
--------------------
default
{
    state_entry()
    {
        llListen(5,"","","");
    }
 
    listen(integer channel, string name, key id, string message)
    {
    if (message == "start")
    {
        llTargetOmega(<0,-0.2,0>, 1, 1);
    }
    
    else if (message == "stop")
    {
        llTargetOmega(<0,0,0>, 1, 1);
        llResetScript();
    }
    
    else if (message == "reset")
    {
        llResetScript();
    }

    else
    {
        llOwnerSay("INVALID COMMAND");
    }
    }
}
--------------------

(child prim)
--------------------
default
{
    state_entry()
    {
        llListen(5,"",llGetOwner(),"");
    }
 
    listen(integer channel, string name, key id, string message)
    {
    if (message == "start")
    {
llTargetOmega(<0,0.0,-0.2>, 1, 1);
    }
    
    else if (message == "stop")
    {
        llTargetOmega(<0,0,0>, 1, 1);
    }
    
    else if (message == "reset")
    {
        llResetScript();
        
    }

    else
    {
        llOwnerSay("INVALID COMMAND");
    }
    }
}
--------------------

trigger button (not linked to other prims)

(start button)
--------------------
default
{
    touch_start(integer total_number)
    {
        llRegionSay(5,"start");
    }
}
--------------------
(stop button)
--------------------
default
{
    touch_start(integer total_number)
    {
        llRegionSay(5,"stop");
    }
}
--------------------
TagsNo tags attached.
Git Revision or version numberc472764
Run Mode Grid (1 Region per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux64
Mono Version2.6.3
Viewer
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-02-02 21:47 nebadon New Issue
2011-02-02 21:47 nebadon Git Revision => c472764
2011-02-02 21:47 nebadon SVN Revision => 0
2011-02-02 21:47 nebadon Run Mode => Grid (1 Region per Sim)
2011-02-02 21:47 nebadon Physics Engine => ODE
2011-02-02 21:47 nebadon Environment => Mono / Linux64
2011-02-02 21:47 nebadon Mono Version => 2.6.3
2011-02-02 21:49 nebadon Summary llListen is being ignored by scripted child prims in linksets when said by llSay or llRegionSay but not in open chat. => llListen is being ignored by scripted child prims in linksets when said by llSay or llRegionSay but not in open chat..


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker