Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vector gFloor;
- vector 1Floor;
- vector cPos;
- float gY = gFloor.y;
- float gX = gFloor.x;
- float gZ = gFloor.z;
- float 1Z = gZ + 10;
- default
- {
- state_entry ()
- {
- gFloor = llGetPos();
- 1Floor = <gX, gY, 1Z>;
- }
- changed(integer change)
- {
- if(change & CHANGED_LINK)
- {
- cPos = llGetPos;
- if (cPos == gFloor)
- {
- llSleep (2.0);
- llSetRegionPos(1Floor);
- }
- else
- {
- llSetRegionPos(gFloor);
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment