Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Camera Camera_on_Top  

Camera_on_Top

Camera_on_Top

Category: Camera
By : Frost White
Created: 2012-07-08 Edited: 2012-07-08
Worlds: Second Life

the Zip file

Download all files for Camera_on_Top
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Camera_on_Top_1.lsl
1 key id;
2 default
3 {
4 attach(key id)
5 {
6 if(id == NULL_KEY)
7 {
9 }
10 else
11 {
13 llInstantMessage(id,"Online! Camera will be facing down on you until you start walking.");
14 }
15 }
17 {
19 {
21
22 CAMERA_ACTIVE, 1, // 1 is active, 0 is inactive
23 CAMERA_DISTANCE, 5.0, // ( 0.5 to 10) meters
24 PITCH" title="View Definition" class="tooltip">CAMERA_PITCH, 10.0, // (-45 to 80) degrees
25
26 CAMERA_BEHINDNESS_ANGLE, 0.0, // (0 to 180) degrees
27 CAMERA_BEHINDNESS_LAG, 0.1, // (0 to 3) seconds
28
29 CAMERA_FOCUS_OFFSET, <0.0,0.0,1.5>, // <-10,-10,-10> to <10,10,10> meters
30
31 CAMERA_FOCUS, llGetPos(), // region-relative position
32 CAMERA_FOCUS_LAG, 0.1, // (0 to 3) seconds
33 CAMERA_FOCUS_THRESHOLD, 0.1, // (0 to 4) meters
34 CAMERA_FOCUS_LOCKED, FALSE, // (TRUE or FALSE)
35
36 CAMERA_POSITION, llGetPos(), // region-relative position
37 CAMERA_POSITION_LAG, 0.5, // (0 to 3) seconds
38 CAMERA_POSITION_THRESHOLD, 0.5, // (0 to 4) meters
39 CAMERA_POSITION_LOCKED, FALSE // (TRUE or FALSE)
40
41 ]);
42 }
43 }
44 }

Back to the Best Free Tools in Second Life and OpenSim.