Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

What's the problem

Own Westland
Second.Life@msn.com
Join date: 24 Dec 2007
Posts: 49
05-02-2008 01:03
My script works well in LSLEditor 2.36. But completely different in the world.

After get the authorization by llRequestPermissions(owner,PERMISSION_DEBIT), it should go to another state for llMoveToTarget() and llLookAt(). But it directly go to third state. It's impossible for the logic after I checked.

Is there a limit for the lines in a script? Mine is about 400 lines.

Any other possible reason ? Thanks.
_____________________
Helpful MSN Group: Second.Life@msn.com
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
05-02-2008 01:32
It's a little difficult to point out your problem if you don't post the code.
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
05-02-2008 04:04
LSL will not allow you to call a state change from within a global function, only an event.
LSLEditor on the other hand accepts a state change inside a global function by default.
In LSLEditor goto Tools-Options-Debugging-General and turn off "State changes allowed in Global Functions", that way LSLEditor will trap it for you.