From Second Life Wiki
Jump to: navigation, search

Honest innocent question Strife...How important is checking for NULL_KEY in this type of script? I was interested in a simple example here because I am making a far more complex version right now. Kinda funny that I spent all day working with this function and then found that it needed an example. yay! I was having some issues with llAvatarOnSitTarget and its obtained key during some state swaps and animation starts and stops. How could checking for NULL_KEY while the avatar is still sitting help? -- Eddy (talk|contribs) 23:46, 8 August 2009 (UTC)

I've answered my own question there really haven't I? You check just in case they crashed or stood up etc. Duh. How would you say this example should feature a state change? I was trying to keep it simple. I've got three states in the one I'm making and I'm not 1/2 way done yet. Mind you with my new found ability to create functions!!! *throws tiny party in head* oh the bliss... will make it simpler, faster and smaller by the time I've reworked it all. -- Eddy (talk|contribs) 00:22, 9 August 2009 (UTC)