Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do i make the script recognise if im flying?

Kelley Arai
Registered User
Join date: 26 Aug 2007
Posts: 6
08-28-2007 21:16
Hi, i need help remembering what some of the commands would be to know if im flying,typing,walking,etc. Like it knows when im flying and it makes it invisible, and when im not its not invisible. If you could help, much obliged.
Kelley Arai
Registered User
Join date: 26 Aug 2007
Posts: 6
08-28-2007 21:35
and how do i make it change animations as i fly faster? Like it plays no anim up to a certain speed but if i go over that it plays a different one?
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
08-28-2007 21:52
post 1 = http://lslwiki.net/lslwiki/wakka.php?wakka=llGetAgentInfo
Darko Lednev
Registered User
Join date: 20 Aug 2007
Posts: 31
08-28-2007 23:08
if (llGetAgentInfo(llGetOwner()) & AGENT_FLYING)
{
// Do something
}
else
{
// Do something else
}