Thread

Free source code and classes (Sdk)

Free source code and classes // Sdk

1  |  

brant

May 14, 2001, 5:51pm
For those of you who have been asking about session lists and keeping track
of avatars, I was finally able to get around to releasing a few of the
classes that I commonly use. They allow a programmer to:

-Keep a session list with three lines of code
-Retrieve integer coordinates from a string such as "45n 45e 0a 45"
-Look up error codes with intelligent error messages
-Generate a coordinate string out of SDK coordinates

The classes open up interesting possibilities. Since the default property
is the session, you could whisper to a citizen by name (instead of by
session):

aw.AwWhisper Avatars( "Magine" ), "Message"

or locate a specific property by name:

Avatars( "Andras" ).X

You can download this code at http://www.shoemakervillage.org/programs.html

lord fett

May 14, 2001, 8:24pm
Thanks Brant.

-Lord Fett


[View Quote]

trekkerx

May 15, 2001, 12:20am
How do you use the Retreve integer cordinates?

[View Quote] > For those of you who have been asking about session lists and keeping track
> of avatars, I was finally able to get around to releasing a few of the
> classes that I commonly use. They allow a programmer to:
>
> -Keep a session list with three lines of code
> -Retrieve integer coordinates from a string such as "45n 45e 0a 45"
> -Look up error codes with intelligent error messages
> -Generate a coordinate string out of SDK coordinates
>
> The classes open up interesting possibilities. Since the default property
> is the session, you could whisper to a citizen by name (instead of by
> session):
>
> aw.AwWhisper Avatars( "Magine" ), "Message"
>
> or locate a specific property by name:
>
> Avatars( "Andras" ).X
>
> You can download this code at http://www.shoemakervillage.org/programs.html

brant

May 15, 2001, 4:40pm
Take a look at the help files for the program - they're located on the same
page - it explains everything you need to know.

gamer

May 18, 2001, 3:07pm
thanks a LOT brant :o)

now we can all have a nicer co-ords setup like the one on preston rather
than seperate feilds for different coords...cheers :o)

-Gamer

[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2022. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn