Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

AV Flight detection

Bid Messmer
Registered User
Join date: 13 May 2007
Posts: 13
07-27-2007 11:23
I have seen a few scripts that deal with flight detection... other AV state detection. What I am trying to do is, on an attached prim, get particles to activate on flight, deactivate when falling / standing. I would also like to be able to change the color of prims in these 2 states too. I know enough about scripting to get voice activation to work to do these things, but am unsure how to get flight or lack of it to do it. sadly I am mostly a copy / paste scripter with just enough knowledge about how this stuff works to get cram pieces of scripts together and edit them to do what i want. any help is appreciated.
RJ Source
Green Sky Labs
Join date: 10 Jan 2007
Posts: 272
07-27-2007 11:48
The function llGetAgentInfo will get you information on whether the agent is flying or not (or walking, and a bunch of other things).

http://wiki.secondlife.com/wiki/LlGetAgentInfo