Scripting

21 posts

Programming tips in the Linden Scripting Language (LSL)

Simple Intra-Simulator Teleporting Tool

Also an exercise for my LSL scripting classes, this one is a simple llSetPos teleporting script. The final location is written as <X,Y,Z> on the object’s description. vector destination; key avatar; default { state_entry() { destination = (vector)llGetObjectDesc(); if (destination == ZERO_VECTOR) destination = llGetPos(); llWhisper(0, “Configured; destination is ” […]