Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How come changed(integer change) works when NOT running.

AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
06-14-2007 01:09
I have a teleporter I want to turn off but UNclicking the Running box doesn't work.
Simnelia Petrichor
Registered User
Join date: 10 Feb 2006
Posts: 35
06-14-2007 01:27
I suppose that's because your Sit Target is still set from when the script was running - it's a property of the prim rather than the script.
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
06-14-2007 09:34
And if you want to turn it off, you can clear the sit target by llSitTarget(ZERO_VECTOR, ZERO_ROTATION). But if you do that, the user will sit on it. I recommend that you use llSitTarget(<0, 0, 0.5>, ZERO_ROTATION) and llUnSit.
_____________________
:) Seagel Neville :)