These forums are CLOSED. Please visit the new forums HERE
Checking Online Status |
|
|
Xerxes Qinan
Registered User
Join date: 12 Feb 2007
Posts: 10
|
03-01-2007 12:21
I'd like to make an object that displays a different texture depending on an avatar's online status. Problem is, I don't know what function checks the online status of an avatar. Does one exist?
|
|
Jeff Kelley
Registered User
Join date: 8 Nov 2006
Posts: 223
|
03-01-2007 12:33
llRequestAgentData(agent_key,DATA_ONLINE) will trigger a dataserver event returning a string "1" or "0". Cast it to an integer and test against TRUE.
|
|
Xerxes Qinan
Registered User
Join date: 12 Feb 2007
Posts: 10
|
03-01-2007 14:07
I have absolutely no idea how to work with the dataserver. Can you give me some example code that shows me what I need to do?
|
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
03-01-2007 15:45
I have absolutely no idea how to work with the dataserver. Can you give me some example code that shows me what I need to do? There's a nice concise example on the wiki: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llRequestAgentData |
|
Xerxes Qinan
Registered User
Join date: 12 Feb 2007
Posts: 10
|
03-02-2007 12:45
Thanks a lot. That helped.
|