|
Hayden Kleinfeld
Registered User
Join date: 7 May 2008
Posts: 2
|
07-09-2008 01:51
Hi there. I'm used to taking existing code and making use of it the way I need to, unfortunately I can't seem to find anything to do what I need. I have an aura attachment I want to enable when flying and disable when not. So, in SL terms, I need to have this object visible while in flight, invisible when not. I figure this would deal with transparency, or rather turning the object up to 100% transparency. The question is, how do I make it only go transparent when flying? Thanks for any help. 
|
|
Laurence Corleone
Registered User
Join date: 12 Oct 2006
Posts: 126
|
07-09-2008 02:05
http://lslwiki.net/lslwiki/wakka.php?wakka=llGetAgentInfo if (llGetAgentInfo(llGetOwner()) & AGENT_FLYING) { //Do Something } else { //Do Something else }
_____________________
There are no stupid questions, just stupid people.
|
|
Hayden Kleinfeld
Registered User
Join date: 7 May 2008
Posts: 2
|
07-09-2008 02:52
Perfect! Thank you so much! 
|
|
Erluen Twin
Registered User
Join date: 26 May 2006
Posts: 23
|
Laurence, you rock
12-30-2008 05:23
That would have taken me ages to find myself! THANK YOU THANK YOU
|