Banner by 23rdDjin

Go Back   Second Citizen MK II > The Mainland: Second Life® > Second Life® Depot

Reply
 
Thread Tools Display Modes

Script: Teleport (1)
Old 08-08-2009, 12:49 AM   #1
rykerbeck
Nommable. Nom nom. Hee!

rykerbeck's Avatar
 
Join Date: Aug 2009
Location: Zion
Posts: 42
Send a message via Skype™ to rykerbeck
Default Script: Teleport (1)

Useful for HUD driven teleport maps.

Code:
// modify the script settings below (sim name, coordinates, etc). this script will bring up the world map. you will need to press the teleport button on the map to teleport.

string sim_name="Zion"; //set sim name here
vector axis = <0.0, 0.0, 1.0>;
vector pos = <122,120,702>; //set coordinates here
float spinrate = 0.0;
float gain = 1.0;
default {

state_entry(){
llSetText("",<1, 1, 1>, 1 ); //set float text
llTargetOmega(axis, spinrate, gain);
}

touch_start (integer total_number) {
llMapDestination(sim_name, pos,ZERO_VECTOR);
}
}
rykerbeck is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -4. The time now is 11:36 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Second Life® and Linden Lab® are trademarks of Linden Research, Inc.
Second Citizen MK II Forums are not affiliated with or sponsored by Linden Research.
© 2009 - 2011 Second Citizen MKII [SC MKII]
| Home | Register | FAQ | Members List | Calendar | Today's Posts | Search | New Posts |