Search found 142 matches

by Ohn Lang
Sun Feb 17, 2013 9:25 pm
Forum: Scripting
Topic: Action NPC on Ohn Freebies World
Replies: 22
Views: 19259

Re: Action NPC on Ohn Freebies World

I just realized that I accidentally included a notecard in the controller that shouldn't exist until AFTER the controller has actually rezzed seats. The name of that notecard is 'objectsARERezzed' So, If you are trying out the NPC for the first time, before you click the controller to rez the NPC, r...
by Ohn Lang
Sun Feb 17, 2013 8:12 pm
Forum: Scripting
Topic: osTeleport Agent
Replies: 33
Views: 28817

Re: osTeleport Agent

/me scratching head I've tried all sorts of variations in the last hour or so, and if I am using it to teleport between worlds I always wind up facing east no matter what. If I am using it to teleport within a one region world, my lookat isn't changed at all, I just face the direction I was facing w...
by Ohn Lang
Sat Feb 16, 2013 1:51 am
Forum: Scripting
Topic: osTeleport Agent
Replies: 33
Views: 28817

Re: osTeleport Agent

Marstol Nitely wrote:....
I know I was just being falsely modest when I said I believed you. :lol:
LMAO.

shame on you! I sprayed tea on the monitor!!!
by Ohn Lang
Sat Feb 16, 2013 12:54 am
Forum: Scripting
Topic: osTeleport Agent
Replies: 33
Views: 28817

Re: osTeleport Agent

...Hi Ohn - If you say that's what it's supposed to do, I believe you. But I tried it in my single and 4x4 and was still looking NE after changing it to <128,128,25>. LOL. Just so you know, when I say something like "I might be totally wrong" I really do mean it, rather than to convey a false sense...
by Ohn Lang
Fri Feb 15, 2013 11:09 pm
Forum: Scripting
Topic: osTeleport Agent
Replies: 33
Views: 28817

Re: osTeleport Agent

I can't go inworld right now to check, and I might be totally wrong, but I thought that last vector was the exact coordinates of where you want someone to look. like 128,128,25 would be to tell them to look at a point dead center of a region 25 meters up from the bottom. Not sure what happens when t...
by Ohn Lang
Thu Feb 14, 2013 2:29 am
Forum: Viewers Support
Topic: Problem deleting items from my inventory
Replies: 13
Views: 12423

Re: Problem deleting items from my inventory

Odd, I was going to double-check the behavior so I logged in to look at some UUIDs in my inventory, but for some reason, no matter what I right click on in my inventory the copy uuid option is disabled. I know it has worked in the past :(
by Ohn Lang
Thu Feb 14, 2013 1:56 am
Forum: Viewers Support
Topic: Problem deleting items from my inventory
Replies: 13
Views: 12423

Re: Problem deleting items from my inventory

Actually, you found the right thing :)

That string of characters has the format of 00000000-0000-0000-0000-000000000000 (rather than zeros, alphanumeric) right?

Those are the UUIDs/keys
by Ohn Lang
Thu Feb 14, 2013 1:54 am
Forum: Feedback and Suggestions
Topic: Kitely Market Categories and Attributes
Replies: 38
Views: 39584

Re: Kitely Market Categories and Attributes

Lots of fresh thought on the subject of categories and attributes :D
by Ohn Lang
Thu Feb 14, 2013 12:46 am
Forum: Scripting
Topic: General NPC Question
Replies: 7
Views: 6973

Re: General NPC Question

Hehe, sorry, I should have just answered your specific question:

so for you, you would just add the changed event to each state like so:

Code: Select all

changed(integer mask)
    {   
       
        if(mask & CHANGED_REGION_START) {
           llResetScript();
        
        }

    }//end changed


by Ohn Lang
Thu Feb 14, 2013 12:43 am
Forum: Scripting
Topic: General NPC Question
Replies: 7
Views: 6973

Re: General NPC Question

Within each state that you have, you can add the changed event, and tell the script what you want it to do when the change detected is a region restart, for example in the snippet from one of my scripts below, I reset the script if the script detects a change in ownership of the object, and if it de...