OsSetSpeed

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
'''Implemented December 30, 2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850'''
 
'''Implemented December 30, 2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850'''
 
+
<source lang="lsl">
 
  default
 
  default
 
  {
 
  {
Line 8: Line 8:
 
   }
 
   }
 
  }
 
  }
 
+
</source>
  
 
'''osSetSpeed'''(string UUID, float SpeedModifier)
 
'''osSetSpeed'''(string UUID, float SpeedModifier)

Revision as of 16:53, 5 June 2011

Implemented December 30, 2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850

default
 {
   state_entry()
   {
     osSetSpeed(llGetOwner(), 2);
   }
 }

osSetSpeed(string UUID, float SpeedModifier)

This allows for users to speed themselves up. It multiplies the running, walking, and flying of the avatar.

Personal tools
General
About This Wiki