From: Viktoria Dovgal
Well, are the two scripts listening on different channels so that they don't get crosstalk from you? Is your chat command using the ZHAO_AOOFF link message? If you added the listener to the core instead, is your "ao off" command doing exactly the same things that the link message would do?
I'm asking about these basic things because multiple copies can definitely coexist on the same avatar without trouble.
The "flight gets stuck" part of your original post is unclear but possibly telling. In the same prims or attachments where you have either of these AO scripts, are there also any other scripts that also take controls? That can and will cause various problems, especially if the scripts take different keys.
They are not listen on different channels but the comannds are different the scritps are;
listen( integer channel, string name, key id, string message )
{
if( llGetOwnerKey(id) == llGetOwner() )
{
if ( message == "demorphreset" )
{
llOwnerSay( "Resetting." );
llResetScript();
}
if ( message == "demorphoff" )
{
llSetTimerEvent( 0 );
animOverrideOn = FALSE;
startNewAnimation( "", noAnimIndex, lastAnimState );
}
if ( message == "demorphon" )
{
llSetTimerEvent( 0 );
animOverrideOn = TRUE;
startNewAnimation( "", noAnimIndex, lastAnimState );
}
if ( message == "load" ) {
// Can't load while we're in the middle of a load
if ( loadInProgress == TRUE ) {
llOwnerSay( "Cannot load new notecard, still reading notecard \"" + notecardName + "\"" );
return;
}
------------------------AND-------------------------------------------------
listen( integer channel, string name, key id, string message )
{
if( llGetOwnerKey(id) == llGetOwner() )
{
if ( message == "helmetreset" )
{
llOwnerSay( "Resetting." );
llResetScript();
}
if ( message == "helmetoff" )
{
llSetTimerEvent( 0 );
animOverrideOn = FALSE;
startNewAnimation( "", noAnimIndex, lastAnimState );
}
if ( message == "helmeton" )
{
llSetTimerEvent( 0 );
animOverrideOn = TRUE;
startNewAnimation( "", noAnimIndex, lastAnimState );
}
if ( message == "load" ) {
// Can't load while we're in the middle of a load
if ( loadInProgress == TRUE ) {
llOwnerSay( "Cannot load new notecard, still reading notecard \"" + notecardName + "\"" );
return;
}
Both on channel 2, replacing the listen comands originaly used by the script.
If you want you can join me online and help me. It would be apreicated and would get you some cash.