From: Dale Harmison
ok, thank you and how do i use the code now, what do i do with it, where do i put it?
how do i change it?
If you want it to happen when someone touches the object, put it inside the touch_start() event.
1. Rez a prim. (Right Click on ground and select Create then click the ground again)
2. Right-click it and select Edit
3. Click the Contents tab
4. Click New Script
5. A temp script pops up that includes a touch_start() event
6. Place the llMapDestination command there with your chosen map coordinates. Save.
7. Touch your prim.
8. Voila...Map pops. Click teleport to go there.
9. Take or Take Copy of your object so you don't lose it.
default
{
state_entry()
{
}
touch_start()
{
llMapDestination("Hwaryeo",<25,12,54>,<0,0,0>);
}
}
The first variable is simply the NAME of the sim you want to pop the map for.
The second variable is the location to teleport to if Teleport is clicked on the map. It's also where the red circle will appear on the map.
The third variable is which direction to look towards when you teleport.
The first variable is represented as a string.
The second and third variables are represented in Vectors.
Look at
http://secondlife.com/badgeo/wakka.php?wakka=vector if you aren't familiar with vectors.