OsSetSpeed: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Fritigern No edit summary |
imported>Makopoppo No edit summary |
||
| Line 12: | Line 12: | ||
{ | { | ||
osSetSpeed(llGetOwner(), 2); | osSetSpeed(llGetOwner(), 2); | ||
// This doesn't work as of 0.7.1.1 - It will work on 0.7.2-dev or later | |||
// osSetSpeed(llGetOwner(), 2.0); | |||
} | } | ||
} | } | ||
| Line 19: | Line 21: | ||
This allows for users to speed themselves up. It multiplies the running, walking, and flying of the avatar. | This allows for users to speed themselves up. It multiplies the running, walking, and flying of the avatar. | ||
Note: As of 0.7.1.1, you can't apply float numbers to '''SpeedModifier''' (it will result in script compile error) due to the bug [http://opensimulator.org/mantis/view.php?id=5564 #5564]. On 0.7.2-dev or later, you will able to do so. | |||
| | | | ||
}} | }} | ||
Revision as of 10:19, 29 June 2011
osSetSpeed(string UUID, float SpeedModifier)
| |
| No descriptions provided | |
| Threat Level | Moderate |
| Permissions | No permissions specified |
| Extra Delay | No function delay specified |
| Example(s) | |
default
{
state_entry()
{
osSetSpeed(llGetOwner(), 2);
// This doesn't work as of 0.7.1.1 - It will work on 0.7.2-dev or later
// osSetSpeed(llGetOwner(), 2.0);
}
}
| |
| Notes | |
| Implemented December 30, 2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850
This allows for users to speed themselves up. It multiplies the running, walking, and flying of the avatar. Note: As of 0.7.1.1, you can't apply float numbers to SpeedModifier (it will result in script compile error) due to the bug #5564. On 0.7.2-dev or later, you will able to do so. | |