Difference between revisions of "Talk:Wanderer"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 25: Line 25:


This should be set somewhere in the object using he [[Wanderer]] script, somewhere in the state_entry() or on_rez() event.
This should be set somewhere in the object using he [[Wanderer]] script, somewhere in the state_entry() or on_rez() event.
Kira Komarov 09:32, 23 November 2011 (PST)

Revision as of 10:33, 23 November 2011

Hi Kira,

I've been following your efforts and first off I'd like to say thanks on behalf of the people who will find these goodies useful.

I was just looking at this script with great interest, as it fits a particular need that I am working on, so the timing is quite fortuitous. I did however notice a possible issue that may arise. Should the wanderer go off a sim into the wild... it won't die. Also something to ponder adding in, is parcel containment to restrict the wanderer from travelling onto others parcels.

Just a couple of thoughts :) Have a Terrific Day & Thanks again for posting in these goodies. WS

Hello, thank you! I'm sorry, I've never really checked the discussions tabs so I'm catching up. The Wanderer script should contain itself within the limits of MOVEMENT_RANGE so you could actually measure how how far you need it to travel and avoid that problem.


Try this on the object that will use the Wanderer script:

<lsl> llSetStatus(STATUS_DIE_AT_EDGE, TRUE); </lsl>

which should delete the object if it hits the edge of the SIM (STATUS_DIE_AT_EDGE). Or you can even make it return with:

<lsl> llSetStatus(STATUS_RETURN_AT_EDGE, TRUE); </lsl>

This should be set somewhere in the object using he Wanderer script, somewhere in the state_entry() or on_rez() event.

Kira Komarov 09:32, 23 November 2011 (PST)