Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llRequestAgentData params?

Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
03-04-2005 00:06
Sorry if I missed this already somehow...

I read that the agent data options have been expanded but I don't see either in the help or on the wiki what the new constants are?

CODE

llRequestAgentData(key kTrackingKey, DATA_BORN)


I know the original ones (DATA_BORN, DATA_NAME, DATA_RATING, DATA_ONLINE) but what's been added?

Thanks so much!
--Jack Lambert
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
03-04-2005 00:16
you have confused llGetAgentInfo and llRequestAgentData i think.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Jack Lambert
Registered User
Join date: 4 Jun 2004
Posts: 265
03-04-2005 00:18
OH NO!

*tears well up*

NOOOOOOOO

I've been waiting so long, I was so excited :(

--Jack Lambert
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
03-04-2005 08:15
From: Script Help Guide
A.52. llGetAgentInfo

integer llGetAgentInfo(key id);

Returns information about the given agent id. Returns a bitfield of agent info constants.

From: Script Help Guide
C.12. Agent Info Constants

Each of these constants represents a bit in the integer returned from the llGetAgentInfo function and can be used in an expression to determine the specified information about an agent.

Agent Info Constants

AGENT_FLYING

The agent is flying.
AGENT_ATTACHMENTS

The agent has attachments.
AGENT_SCRIPTED

The agent has scripted attachments.
AGENT_SITTING

The agent is sitting.
AGENT_ON_OBJECT

The agent is sitting on an object.
AGENT_WALKING

The agent is walking.
AGENT_IN_AIR

The agent is in the air.
AGENT_MOUSELOOK

The agent is in mouselook.
AGENT_AWAY

The agent is away (AFK).


I wish it had more options, I'd like to be able to tell how many prims are on a user, etc. actual more detail about the avatar itself. Kinda limited, but its something atleast! :)
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
Kelly Linden
Linden Developer
Join date: 29 Mar 2004
Posts: 896
03-04-2005 09:23
From: Oz Spade
I wish it had more options, I'd like to be able to tell how many prims are on a user, etc. actual more detail about the avatar itself. Kinda limited, but its something atleast! :)

Unfortunatly a number (such as the number of attachments) can't be easily / intuitively stuffed into a bitfield. Essentially this function can only return TRUE or FALSE answers.

I have another thread going in Scripting Tips (/54/10/37570/1.html) that people interested in this function at all should check out.
_____________________
- Kelly Linden