OsSetSpeed: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Revolution m Adds Example to osSetSpeed |
imported>Revolution m Fixes summary spacing. |
||
| 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''' | ||
default | default | ||
<br /> | |||
{ | { | ||
<br /> | |||
state_entry() | state_entry() | ||
<br /> | |||
{ | { | ||
<br /> | |||
osSetSpeed(llGetOwner(), 2); | osSetSpeed(llGetOwner(), 2); | ||
<br /> | |||
} | } | ||
<br /> | |||
} | } | ||
<br /> | |||
osSetSpeed(string UUID, float SpeedModifier)<br>This allows for users to speed themselves up. It multiplies the running, walking, and flying of the avatar.<br> | osSetSpeed(string UUID, float SpeedModifier)<br>This allows for users to speed themselves up. It multiplies the running, walking, and flying of the avatar.<br> | ||
Revision as of 05:51, 8 January 2010
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.