Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting feature request

Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
11-04-2003 07:47
vector llDetectedScale(integer n)

For sensor and maybe touch events, only works for avatars and unlinked objects.
_____________________
Sarcasm meter:
0 |-----------------------*-| 10
Rating: Awww Jeeze!
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
11-04-2003 12:37
And does what?
_____________________
~ Tiger Crossing
~ (Nonsanity)
Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
11-04-2003 13:23
Sends Wednesday Grimm L$5 everytime it's used.

What? No? Ok, then returns the vector llGetScale() would return if it was run in the sensed object (or llGetAvatarSize(), or whatever the avatar function is, can't remember)
_____________________
Sarcasm meter:
0 |-----------------------*-| 10
Rating: Awww Jeeze!
Ezhar Fairlight
professional slacker
Join date: 30 Jun 2003
Posts: 310
11-04-2003 15:12
Size of the detected object would be cool. For link sets, it would probably be most useful if it returned the size of the bounding box.

For Avatars there already is llGetAgentSize().
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
11-04-2003 17:22
Oh please! I want this so much :)

*Anything* were able to externally sence about an object is a great improvment IMO.

llDetected*() I want:

llDetectedScale();
llDetectedVel(): //Returns a vector stating the objects linear velocity.
llDetectedAccell(); //Returns a vector stating the objects accelletation.
llDetectedCamera(); //Returns camera offset from pos.
llDetectedOmega(); //Returns a vector stating the object's angular velocity.
llDetectedSound(); //Returns an integer (TRUE or FALSE) stating if the object is playing a sound
llDetectedLinks(); //Returns the number of linked children attached to the object.
and...
llDetectedStatus(); //Returns a bit field representing the enabled STATUS_* flags (STATUS_SANDBOX, STATUS_PHYSICS, etc).
_____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
11-05-2003 07:30
Or how about...

llGetTrait( key id, integer TRAIT )

Used like...

float scale = llGetTrait( llDetectedKey(), TRAIT_SCALE );

THAT would be bloody useful in SO many cases. :)
_____________________
~ Tiger Crossing
~ (Nonsanity)
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
11-10-2003 15:53
BUMP! With an addition:

llDetectedCenterOfMass();

I like that llGetTrait() function tho ;)

==Chris
Darwin Appleby
I Was Beaten With Satan
Join date: 14 Mar 2003
Posts: 2,779
11-10-2003 15:56
YAY YAY YAY!

I second them ALL! ALL I TELL YOU! ALL OF THEM!

MWAHAHAHAHAHAHAHAHAHAHAHA
MWAHAHA
AHAHA
Ah...
_____________________
Touche.
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
11-11-2003 03:39
llDetectedVel() already exists