can you email the sim name and the positions for llMapDestination
if it can be done plz post a example
p.s
i do know how to send and receive emails
These forums are CLOSED. Please visit the new forums HERE
emailing vectors for llMapDestination |
|
|
XShade Foley
Registered User
Join date: 11 Feb 2006
Posts: 12
|
09-06-2006 11:56
can you email the sim name and the positions for llMapDestination
if it can be done plz post a example p.s i do know how to send and receive emails |
|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
09-06-2006 13:17
The first 3 lines of the email body will always contain the object name, region name and region local coordinates. You can just unstring them and then use them for the llMapDestination target.
http://secondlife.com/badgeo/wakka.php?wakka=llEmail _____________________
Russell Hansen - Texi Pet Creator
Texi Pets, your SL Companions and Personal Assistants http://texipets.com |
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
09-06-2006 13:24
llEmail(sometarget, "", llGetRegionName()+(string)llGetPos());
Will email the current location and position. Using llSubStringIndex(msg, "<" will let you split the message into the region name and vector._____________________
|
|
XShade Foley
Registered User
Join date: 11 Feb 2006
Posts: 12
|
09-06-2006 15:52
i got that part but i cant seem to work win i click the box it opens the map and goes to 0,0,0
this is the script i am using to get the coordents to llMapDestination a nother object gets the email and then sends the coordents thew chat to this script CODE
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
09-06-2006 18:01
without seeing the other bit, the only thing i happen to eyeball atm is
CODE
im not even shure if that would cause a problem but i usually use map+=message; to me map += message; adds a string element to a list map += [message]; trys to add a list inside of a list, which i dont think will work, thus loosing your data but again i could be totally wrong .. im not uber |
|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
09-07-2006 01:24
No, that is the correct way to add elemnts to a list.
However,l there's way too little information to tell from that code. What format is your other object chatting in? What is the listen for 57891 for, or is that a typo and your problem? How are you ensuring your vector comes through after your region name (assuming you expect the first listen to be region name and the second the vector). Why are you deleting the first sublist, which I assume is the region name? The second touch will then give you the coordinates first, and the next region name second. _____________________
Russell Hansen - Texi Pet Creator
Texi Pets, your SL Companions and Personal Assistants http://texipets.com |
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
09-07-2006 19:25
No, that is the correct way to add elemnts to a list. thanks ill work that into my habbits |
|
Kayla Stonecutter
Scripting Oncalupen
Join date: 9 Sep 2005
Posts: 224
|
09-07-2006 19:53
No, that is the correct way to add elemnts to a list. _____________________
|
|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
09-07-2006 20:21
Er yeah, what Kayla said as well, but I assumed someone adding an item to a list wouldn't try and turn a list into a list of lists.
_____________________
Russell Hansen - Texi Pet Creator
Texi Pets, your SL Companions and Personal Assistants http://texipets.com |