These forums are CLOSED. Please visit the new forums HERE
height event |
|
Nada Epoch
The Librarian
![]() Join date: 4 Nov 2002
Posts: 1,423
|
04-14-2003 10:59
think we could get a height event? the call would be llCheckHeight(float height). once it reached the height, it would trigger the event?
|
Dave Zeeman
Master Procrastinator
![]() Join date: 28 Jan 2003
Posts: 1,025
|
04-14-2003 11:20
Secondondondedededed....
![]() although, i'm sure you already knew this, but checking the Z position has the same effect (but I know you're probably asking for "height above the land" not "height above sea level" so I'm seconding your motion) _____________________
llToggleDaveZeemanIntelligence(FALSE);
Philip Linden: Zeeman, strip off the suit! Dave Zeeman - Keeping Lindens on their toes since v0.3.2! |
Ope Rand
Alien
![]() Join date: 14 Mar 2003
Posts: 352
|
04-14-2003 12:50
I like this one too. How about a llCheckCoordinates(float x,float y,float z) where we could use a NULL in place of x and y to achieve what Nada mentioned?
Edit: then again, not sure what this would be useful for. And, I forgot that Nada wants to use this for above ground height. Nevermind. ![]() But I do like the height above ground event idea. |
Nada Epoch
The Librarian
![]() Join date: 4 Nov 2002
Posts: 1,423
|
04-14-2003 13:45
Originally posted by Dave Zeeman Secondondondedededed.... ![]() although, i'm sure you already knew this, but checking the Z position has the same effect (but I know you're probably asking for "height above the land" not "height above sea level" so I'm seconding your motion) heh course i know that dave! sides, there is away to check about the ground, llGround(vector offset) gets you the height of the ground, which you then subtract from the your llGetPos(), to determine the height of your object above the ground. oh and sea level isn't 0... unless they changed it... gonna have to check that though. edit-oh, i agree with ope's suggested improvement |
Yuniq Epoch
Lotus Blade
![]() Join date: 26 Feb 2003
Posts: 80
|
04-15-2003 12:25
Sea Level's about 18. 0 is the lowest you can sink land under the ocean.
I have a check in my game down in my basement at X-Caliber that kills the ball if you leave the game (which is underwater). I'm currently checking to see if Z is 18 or higher. |
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
|
04-15-2003 14:27
I thought sea level was 20? but you konw its sim specific right? The new sim that has the old west town and indian village has a significantly lower sea level than other places.
|
Nada Epoch
The Librarian
![]() Join date: 4 Nov 2002
Posts: 1,423
|
04-16-2003 07:12
i just thought of an easy way to do this. Under the changed event, could we get a a new constant? CHANGED_POS.
|
BuhBuhCuh Fairchild
Professional BuhBuhCuh
Join date: 9 Oct 2002
Posts: 503
|
04-16-2003 11:19
yeah, or allow the target event to be constrained to a plane. You could play round with the move_start/_end events - but thats only good if you are starting or finishing moving I guess.
BB...C _____________________
START! Make your own movie in Second Life for The Take 5 Machinima Festival Films due Dec 4, screening Dec 7! http://www.alt-zoom.com/take5.htm |
Nada Epoch
The Librarian
![]() Join date: 4 Nov 2002
Posts: 1,423
|
04-16-2003 12:20
i still want to be able to lock an objects movement along the axis, via a llSetStatus() flag, but that is only slightly related
|