Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Vehicle--Non-Vehicle--Vehicle...doesn't work...bug?

Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
08-15-2005 21:11
So I have a vehicle...that then uses an llMoveToTarget script to bring it in-line with a second object. Then it "releases" itself from the object it's following and turns back into a vehicle...

...problem is...it never turns back into a vehicle.

I've even tried copy/pasting the entirety of the original vehicle script inside the "detach from object following" method and it still won't turn back into a vehicle. I've separated items into states and tried calling different states on different calls...and it doesn't work. I've tried re-calling the default state in hopes that it would read through it from start again--doesn't work.

Vehicle works fine initially--it's only when it's told to stop being a vehicle and then start bein' one again that the script breaks.

Help? Bug?

UPDATE: Able to retain "vehicle-type" properties...in that I can still turn the vehicle after detaching from the object my vehicle is "following...but once detached, there is no forward momentum possible?
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
09-10-2005 16:48
Bump! If you still need help with this question, please post the code.

Also, are you using llStopMoveToTarget? You can also make the object temporarily non-physical and just use llSetPos if all else fails! :)
_____________________
---