=Odin= 0 Posted November 21, 2007 G'day, can someone plese help me to get my script to teleport me to where I click on the map, at the moment I only materialize at my gamelogic object, which is cool as I can get on a roof, high mountain or any where else I place my logic at But I would like to be able to move where  I like. Basically I made this script to explore and fast track to mission areas on a map I am trying to make, any way here it is, Quote[/b] ];Teleport script ;by Adom =Odin= Furminger ;ver. beta ;Teleport to a location on map ;start script 1 setRadioMsg "DESTINATION" _OBJ = "logic" createvehicle getpos trek ~1 onMapSingleClick "_OBJ setpos _pos; go = 0" @go == 0 go = 1 1 setRadioMsg "ENERGIZE" ~0.1 ;?!(local Server): exit _dir = getDir player player setPos [ getPos trek select 0, getPos trek select 1, (getPos trek select 2) +0] #drop _move = "Move" camCreate getPos trek _land = "Land" createVehicle (position trek) #end exit anyone? Way it is now would make a great script for a Stargate, hehe I should make one    thx Odin Share this post Link to post Share on other sites
fasad 1 Posted November 21, 2007 The quickest, simplest, least fun method - create a repeatable, radio trigger, with this as the OnActivation code :<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hint "Click on map to select teleport destination"; onMapSingleClick "player setPos _pos; onMapSingleClick """"; hint ""Teleported!""" Now activate the radio to teleport where ever you want Share this post Link to post Share on other sites
=Odin= 0 Posted November 21, 2007 Thx fasad, that does the trick great fun =Odin= Share this post Link to post Share on other sites