Has anyone come across a climbing up/down a ladder script, and an anim to go with it?
Rock
These forums are CLOSED. Please visit the new forums HERE
Climbing up/down a ladder |
|
|
Rock Ryder
Registered User
Join date: 6 Oct 2006
Posts: 384
|
05-23-2008 13:43
Has anyone come across a climbing up/down a ladder script, and an anim to go with it?
Rock _____________________
If Jimmy cracked corn, and I don't care, why did I write a song about it??
|
|
Rorrim Wrigglesworth
Registered User
Join date: 6 Apr 2008
Posts: 68
|
02-26-2009 08:31
Has anyone come across a climbing up/down a ladder script, and an anim to go with it? Rock take a look at this.. 'it does what it says on the tin' http://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=732717 Hope this helps you out _____________________
|
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
02-26-2009 10:26
there are a few ways to go about this: one of the "simpler" ways is to have a transparent sit-target prim on the ladder that when you click (set as click to sit) it starts the climbing animation and moves up the ladder ladder prim. once at the top it unsits the avatar and returns to the starting position. you can place a descending prim at the top in the same manner as well so that the ladder can be used in both directions. another way to go about this is to have the animation in the ladder itself and the avatar sits on the ladder. then you use llSetLinkPrimitiveParams() in a loop to move the avatar up the ladder. unfortunately with this method is that you'd have to do some inqueries with the user of the ladder if you want to have it function for both ascending and descending
_____________________
My SLExchange shop
Typos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work. |