Hi.
What would the differences scripting wise in doing this?
and where should i look first?
Is there an onattach type function that works simlar to change?
These forums are CLOSED. Please visit the new forums HERE
Making a Vehicle an Attachment |
|
|
Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
|
06-25-2008 10:13
Hi.
What would the differences scripting wise in doing this? and where should i look first? Is there an onattach type function that works simlar to change? |
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
06-25-2008 10:45
Well, vehicle functions won't work in an attachment. Physical movement will, but only to move, not to rotate (so you'd have to allow CONTROL_ROT_LEFT and CONTROL_ROT_RIGHT to do their default behaviors if you capture them at all). There's no automatic 'sit' animation for an attachment and there ARE still the normal walk/run/fly animations that play, so you'd always have to override animations carefully.
You might look for "flight assist" and/or jet pack scripts. Those might give you a good start. The 'attach' event fires when an object is worn or removed. See http://www.lslwiki.net/lslwiki/wakka.php?wakka=attach |