View Single Post
Old 05-18-2008, 10:30 AM   #7 (permalink)
Lokai
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,425
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Deegs View Post
You have no idea how much this post is helping me at the moment. I am keeping that chainlegs script open while looking at other scripts to actually start to understand them better.


I do have a question regarding attributes i.e.

[FlipableAttribute(0x13be, 0x13c3)]
[Constructable]

Where exactly are those contained, and how do you know when you can use what attributes? Sort of like, how the overrides in that script, are derived from BaseArmor. Not sure if im making alot of sense.

Anyway, great post, I hope you will add some more, I for one am learning quite a bit from it.

+rep
For something like FlippableAttribute, you need InsideUO, or another tool that lets you see the images used. Basically, if the image of the item is facing one way, and there is another image facing another way, then FlippableAttribute lets you use the [flip command in game to change the facing of the item. This is especially important for furniture items, signs, and multis.

I STRONGLY recommend downloading Microsoft Visual C# Express Edition 2008. It's free, and can be found here:

Downloads

With it, you can right-click on a class name, its base class or any object, and navigate to the constructor or definition of that object. This will help you greatly with trying to figure out where a particular class is derived, what it's methods are, etc.
Lokai is offline   Reply With Quote