ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Free source code and classes (Sdk)
Free source code and classes // SdkbrantMay 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 trekkerxMay 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 brantMay 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. gamerMay 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] |