Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llAvatarOnSitTarget returning NULL

Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-17-2007 16:14
Something weird going on with new objects.
I have a standard script I sue for animations, which was origianlly posted in this forum.
Its been working in various guises for quite a while.
Today I put it into a new object and it no longer works. Debugging traced it to llAvatarOnSitTarget ALWAYS returning NULL_KEY.

Copied the exact same scripts into an 'old' object and they work fine.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
NEWGY deserves a kick
03-17-2007 16:33
Problem was the old object already had a sit target, the new object didnt.
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
03-17-2007 16:42
hehe, I have done similar things a time or two :)

I gotta wonder, though.... If it were not well-known that the recent update did in fact break several scripts, would you have assumed that llAvatarOnSitTarget was broken?

I submit that NEWGY doesn't quite deserve a kick today :)
_____________________
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-17-2007 16:49
LOL, no I deserve it, I posted before I thought it through properly.
But yes with the state of SL atm my first thought was they broke it
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
03-17-2007 20:02
From: Newgate Ludd
I have a standard script I sue for animations...

Can you really make animations this way??

/me runs and hides
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-18-2007 02:24
From: Sindy Tsure
Can you really make animations this way??

/me runs and hides


No it a script to control animations rather than to make the actual animation file.
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
03-18-2007 09:37
Oh. Ok. :P

From: Newgate Ludd
I have a standard script I sue for animations
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-18-2007 15:28
From: Sindy Tsure
Oh. Ok. :P


ROFL sorry I read Newgy-esse without noticing