The above script has been modified in several ways, the llSetTimerEvent has been changed from a 10 second interval to a 1 second interval. The colors have also be changed from a red, green, blue scheme to vector color = <purple,yellow,orange>; and the size of the object has also been adjusted to a larger scale.
The above script displays the objects location and rotation; these are basic attributes of all objects. In the above script the position is stored in to a vector variable named pos. The x, y, and z variables can be accessed directly. In addition this script begins by setting a timer event that will occur every 1 second. Each time the timer event is called; three random values are generated for purple, yellow and orange. These components are combined in a vector to produce a color. This color is then applied to the prim.
“In previous chapters functions such as llSetPos and llGetPos were presented to change the position of a