[Opensim-dev] CHANGED_REGION_START

drwhiet at spacefriends.de drwhiet at spacefriends.de
Thu Jul 22 18:58:17 UTC 2010


As many people living in a Non Hexadecimal World .. What is 

((intChange & 0x400) || (intChange & 0x100)) 

is this the 

" else if (change & 256) // that bit is set during a region restart "

Regards
Word ?!

-----Ursprüngliche Nachricht-----
Von: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] Im Auftrag von
drwhiet at spacefriends.de
Gesendet: Donnerstag, 22. Juli 2010 00:24
An: opensim-dev at lists.berlios.de
Betreff: Re: [Opensim-dev] CHANGED_REGION_START


If two honored developer argue .. i throw in a script i always use ..
There is this story (on oSGRID) that this
  else if (change & 256)
bit is set during a region restart ....


default
{
    state_entry()
    {
// do something
    }

changed(integer change) // something changed, take action
   {
      if(change & CHANGED_OWNER)
   {
// do something
      }
      else if (change & 256) // that bit is set during a region restart
      {
         llResetScript();
      }
   }

 on_rez(integer total_number)
    {
            llResetScript();
    }
    
    touch_start(integer total_number)
    {
// do something
    }   
                                                            
}


best regards
Wordfromthe Wise



-----Ursprüngliche Nachricht-----
Von: opensim-dev-bounces at lists.berlios.de
[mailto:opensim-dev-bounces at lists.berlios.de] Im Auftrag von Melanie
Gesendet: Mittwoch, 21. Juli 2010 23:59
An: opensim-dev at lists.berlios.de
Betreff: Re: [Opensim-dev] CHANGED_REGION_START

it's implemented as CHANGED_REGION_RESTART.

Melanie

Justin Clark-Casey wrote:
> On 20/07/10 22:09, Siann Beck wrote:
>> Is this supported in OpenSim; that is, is the changed() event 
>> triggered for it? I know the constant is not defined, but putting the 
>> literal value, my handler is still not working.
>>
>> http://wiki.secondlife.com/wiki/CHANGED_REGION_START
> 
> It isn't yet implemented as far as I can see.  I'm not sure how 
> complex it would be to implement - it could be quite easy (perhaps 
> just have the script engine fire the event if it loads a script during
region or startup) or there might be some technical complexity.
> 
_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

_______________________________________________
Opensim-dev mailing list
Opensim-dev at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev




More information about the Opensim-dev mailing list