Nevermind I was testing on YEngine not on X, I forgot
On Tue, Nov 5, 2019 at 8:21 PM Cinder Roxley <cin...@alchemyviewer.org> wrote: > It’s a bug http://opensimulator.org/mantis/view.php?id=5844 > > > On November 5, 2019 at 6:51:37 PM, Frans (mrfr...@gmail.com) wrote: > > Hi, > We have upgraded the OSCC grid to version 0.9.1.0, and I noticed a change > in script behavior. > in the past, in version 0.8.2.1 for example, NULL_KEY > or 00000000-0000-0000-0000-000000000000 would evaluate as FALSE when put in > a IF statement. > In the latest version it evaluates as TRUE. > > Is this the intended behavior? > > Example Script: > > > default > > { > > state_entry() > > { > > llSitTarget(<0,0,0.5>, ZERO_ROTATION ); > > } > > changed(integer change) > > { > > if(change & CHANGED_LINK) > > { > > key agent = llAvatarOnSitTarget(); > > llOwnerSay((string)agent); > > if(agent) > > { > > llInstantMessage(llAvatarOnSitTarget(), "test"); > > } > > } > > } > > } > > > Regards, > -- > Frans Charming > Jeroen Frans > _______________________________________________ > Opensim-dev mailing list > Opensim-dev@opensimulator.org > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > _______________________________________________ > Opensim-dev mailing list > Opensim-dev@opensimulator.org > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > _______________________________________________ Opensim-dev mailing list Opensim-dev@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev