Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

follower script

Temperence Dagger
Registered User
Join date: 26 May 2007
Posts: 14
05-29-2007 19:16
Hi,

I have the basic follower script you can get anywhere. I want to know how to change the script so the object following me does not spin around. I want my object to stay upright.

I know nothing about writing scripts so whomever can help me must talk S-l-o-w-l-y.

Thanks!!!!!
Daten Thielt
Registered User
Join date: 1 Dec 2006
Posts: 104
05-29-2007 21:35
simple

llSetStatus(STATUS_ROTATE_X,FALSE);

that being X Y or Z depending what ways u want it to turn and what ways u dont
Pip Helios
Registered User
Join date: 29 Sep 2006
Posts: 22
05-29-2007 21:58
More importantly, not sure why it's rotating in the first place. Basic follower is a bit vague, is it a physical follower using llMoveTo or maybe a nonphys using warpPos? Me thinks it's the first, if you're modding something already made it might have a llTargetOmega on it too (since this is a prim property it might not even be in the script). Dunno, unless it's the second one the above fix should work, if it doesn't then you might need to elaborate.
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
05-30-2007 06:53
Post your code, we can help alot more then.