Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Run Speed Boost

Maarek North
Registered User
Join date: 3 May 2006
Posts: 14
06-03-2009 16:08
Has anyone worked with run speed boosts?

Currently I'm using llPushObject( llGetOwner(), <15,0,0>, ZERO_VECTOR, TRUE); in order to enhance run speed but what I find is that it's hitting the ground and slowing the user down when running. Its as if the character is flip flopping between walk and run so it just messes the whole thing up and doesn't look or run properly. Here is a little sample of how it's being used. If anyone has any ideas or suggestions on a better run boost, I'd love to hear it. Thanks.


control(key name, integer levels, integer edges)
{
if (levels & CONTROL_FWD)
{
string s;
s = llGetAnimation(llGetOwner());


if (s == "Running";)
{
llPushObject( llGetOwner(), boost, ZERO_VECTOR, TRUE);
}
}
}
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
06-03-2009 18:25
check out some of the flight assist scripts on the forum.. most of those have speed boosters.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -