Pamela Galli Posted January 22, 2013 Posted January 22, 2013 This may not be the forum for this, but a customer says she is getting this script errors from her doors on her mesh house: script warning error IIsetlocalrot does not work on the objects that contribute to navmesh rootname Americana cottage 1.1 I had no other reports -- anyone have a clue?
Innula Zenovka Posted January 22, 2013 Posted January 22, 2013 Yeah, the problem is, I think. that she has pathfinding turned on on her sim and has set her house to being a static obstacle. This breaks scripts that move prims in the linkset. The fix is either, if possible, to unlink the door (and any other moving parts of the house) and set it to being a moveable obstacle (using "show in linksets") or, if that's not possible, set the whole house to being a moveable obstacle.
Pamela Galli Posted January 22, 2013 Author Posted January 22, 2013 Innula Zenovka wrote: Yeah, the problem is, I think. that she has pathfinding turned on on her sim and has set her house to being a static obstacle. This breaks scripts that move prims in the linkset. The fix is either, if possible, to unlink the door (and any other moving parts of the house) and set it to being a moveable obstacle (using "show in linksets") or, if that's not possible, set the whole house to being a moveable obstacle. Thank you Innula. I don't understand -- how would she set her house to be a static or moveable obstacle? (This is a customer who did not know how to reset a script.) I have sold a lot of these houses and this is the first time I have had a report like this.
Innula Zenovka Posted January 22, 2013 Posted January 22, 2013 She -- or somebody, like her landlord -- must have used the viewer Pathfinding Tools to change the house from being a Movable Obstacle (which it will have defaulted to when she rezzed it) to being a Static Obstacle. Ideally, houses should be Static Obstacles, with unlinked doors and other moving parts set to being Movable Obstacles, but it's really no big deal to leave the whole thing as a Movable Obstacle, I think, unless she's got pathfinding critters wandering round the place. It's nothing you've done, so don't worry too much unless you've got a lot of customers who have decided to optimise their regions for pathfinding without really understanding what they're doing.
Raven1 Short Posted January 22, 2013 Posted January 22, 2013 The customer is me. The only change I made to the house itself as far as pathfinding is changing it to walkable for my vkc cat. Otherwise he won't work.
Innula Zenovka Posted January 22, 2013 Posted January 22, 2013 In that case, you are going to have to unlink the door and set the door to being a movable obstacle, leaving the rest of the house as walkable, otherwise the door won't work.
Raven1 Short Posted January 22, 2013 Posted January 22, 2013 Innula Zenovka wrote: In that case, you are going to have to unlink the door and set the door to being a movable obstacle, leaving the rest of the house as walkable, otherwise the door won't Unfortunately I don't know how to unlink individual objects.
Innula Zenovka Posted January 22, 2013 Posted January 22, 2013 Assuming the house is modifiable (if it's not, you're going to have to ask Pamela to help), I would Open the Edit Tool by clicking CTRL 3 Check Edit linked. (see first picture) Left Click the door prim (it should highlight in blue, leaving the rest of the house unhighlighted). When you are sure that only the prim you want to unlink is highlighted, click the Unlink button (see second picture). if all has gone well, the door will now be highlighted in gold. It will be a separate object now, so I would rename it "Door" or something and then use the Pathfinding tools (Show In Linkset) to set it to Movable Obstacle.
Pamela Galli Posted January 22, 2013 Author Posted January 22, 2013 Also in the Homeowner's Guide link I sent you Raven, there is info on unlinking a prim.
Nova Convair Posted January 23, 2013 Posted January 23, 2013 If you unlink a door it will break or still work. Depends on script. Just set the house back to movable obstacle. There was no need to have changed it. If you want to use the house for pathfinding you need to unlink it anyways and relink the walkable floors and stairs unlink the doors and maybe optimize some details.
Pamela Galli Posted January 23, 2013 Author Posted January 23, 2013 Nova Convair wrote: If you unlink a door it will break or still work. Depends on script. Just set the house back to movable obstacle. There was no need to have changed it. If you want to use the house for pathfinding you need to unlink it anyways and relink the walkable floors and stairs unlink the doors and maybe optimize some details. The door will still work unlinked. I don't know much about pathfinding or SL animals -- but is this cat one of the kinds of things that even use pathfinding? I knew the error had something to do with pathfinding, which I mentioned to the customer, so I asked the customer if she had done anything to the house, and she said no she had done nothing. Is it possible to do whatever she did without even realizing it?
Qie Niangao Posted January 23, 2013 Posted January 23, 2013 Is it possible to do whatever she did without even realizing it? Kinda. For that matter, somebody else could do it too, depending on some not immediately obvious permissions. If you play around with the pathfinding tool for linksets, you may discover that you can change pathfinding attributes for any object that you can move. So if an object is set to allow anybody to move it, then anybody could change the object's pathing attributes (such as setting it "walkable" or whatever). Also, there are sim console commands that change pathing attributes in bulk, so that's a way that they might change without anybody really intending to affect a specific object.
Pamela Galli Posted January 23, 2013 Author Posted January 23, 2013 Thanks -- so a sim owner could change object attributes even if he is not its owner? Always something new to learn about ways to break something :-)
Innula Zenovka Posted January 23, 2013 Posted January 23, 2013 But Raven1 said she had found it necessary to change the house from Moveable Obstacle so that her cat -- which must, it would seem, use pathfinding -- works inside the house. So she did need to change it,. I agree that simply making the whole house walkable probably wasn't the ideal way of doing it, but let's not complicate things more than necessary. If she unlinks the door and sets it back to Moveable Obstacle she'll have a functioning door and, from what she says, a functioning cat too.
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now