removed useless _ folders
This commit is contained in:
3
Simple_Prim_Movement/Simple_Prim_Movement.sol
Normal file
3
Simple_Prim_Movement/Simple_Prim_Movement.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Simple_Prim_Movement">
|
||||
<Project name="Simple_Prim_Movement" path="Simple_Prim_Movement\Simple_Prim_Movement.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,43 @@
|
||||
// :CATEGORY:Movement
|
||||
// :NAME:Simple_Prim_Movement
|
||||
// :AUTHOR:mangowylder
|
||||
// :CREATED:2013-09-06
|
||||
// :EDITED:2013-09-18 15:39:02
|
||||
// :ID:766
|
||||
// :NUM:1053
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Up down script
|
||||
// :CODE:
|
||||
integer toggle;
|
||||
|
||||
|
||||
|
||||
default
|
||||
|
||||
{
|
||||
|
||||
state_entry()
|
||||
|
||||
{
|
||||
|
||||
toggle = !toggle;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
touch_start(integer total_number)
|
||||
|
||||
{
|
||||
|
||||
// Adding .x .y or .z after the vector name can be used to get the float value of just that axis.
|
||||
|
||||
vector pos = llGetPos();
|
||||
|
||||
float X = pos.x; // <--- Like this.
|
||||
|
||||
float Y = pos.y;
|
||||
|
||||
float Zv = pos.z;
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="Simple_Prim_Movement" guid="D8C4B1FC-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D8C4B2EA-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Simple_Prim_Movement_1.lsl" guid="D8C4CAF2-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user