/////////////////////////////////////////////////////////////////////////// // Copyright (C) Wizardry and Steamworks 2012 - License: GNU GPLv3 // // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // // rights of fair usage, the disclaimer and warranty conditions. // /////////////////////////////////////////////////////////////////////////// default { touch_start(integer total_number) { list a = llParseString2List(llGetObjectDesc(), ["#"], []); if(llGetListLength(a) != 2) return; vector dPos = ZERO_VECTOR; list v = llParseString2List(llList2String(a,1), ["<", ",", ">"], []); dPos.x = llList2Float(v, 0); dPos.y = llList2Float(v, 1); dPos.z = llList2Float(v, 2); llMapDestination(llList2String(a, 0), dPos, ZERO_VECTOR); } }