as far as I can see, Rand Linden made the edit that says that no
longer works, BUT, Kaluura Boa has reported on the forums that it's
still working.
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
When I reported it, I indicated that I had only tested it on one server
but the fact that it was failing anywhere was sufficient reason to
remove the caveat suggesting it could be used. I saw no reason to test
in other server versions. Since it was not supported I could not see
filing a JIRA to have it repaired. It should be on a wish list for a
future implementation but I wouldn't hold my breath on getting any response.
Use it at your own risk but heed the warning that it is not reliable.
AnnMarie Otoole
This one does not work.
integer i;
goToDefault(){
if(TRUE) state default;
}
default{
state_entry(){
i++;
llOwnerSay("In default i="+(string)i);
}
touch_start(integer t){
llOwnerSay("switching state default");
goToDefault();
llOwnerSay("Returned from call, failed to depart");
}
}
But unfortunately I can't test the original script.
The recent roll out borked PRIM_PHYSICAL instructions so my vehicles are
without brakes and overshooting the roadways all over SL. Over 2,000
returned to Inventory in the last 24 hours. One or more of those
vehicles landed on private land and they filed an AR. My account has
been put on "administrative hold" for encroachment so I can't repair my
vehicles or re-check the original script.
AnnMarie Otoole
On 9/24/2011 7:27 PM, Ralph Martinez wrote:
> AnnMarie: Can you test the following and see if it works for you. This
> works on my sim and a sandbox area I tested in.
>
> integer switch = -1;
>
> something1()
> {
> llWhisper(0,"@something1() ");
> }
>
> check_statejump(integer s)
> {
> llWhisper(0,"@check_state()");
> if(TRUE) // trick to allow jump to a state
> {
> if(s != -1)
> {
> llWhisper(0,"Going to something1() function...");
> something1();
> llWhisper(0,"@check_statejump() returned from something1()
> function");
> }
> else
> {
> llWhisper(0,"JUMPING TO STATE NOW.");
> state testState;
> }
> } // end trick to allow jump to a state
> }
>
> default
> {
> state_entry()
> {
> llSay(0, "Hello, Avatar!");
> }
>
> touch_start(integer total_number)
> {
> switch = switch * -1; // flip switch
> check_statejump(switch);
> }
> }
>
> state testState
> {
> state_entry()
> {
> llWhisper(0,"Entered state");
> state default;
> }
> state_exit()
> {
> llWhisper(0,"Now leaving state");