Quote:
Originally Posted by Deegs
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.