- Joined
- Apr 17, 2011
- Messages
- 302
So the title, as long as it is, says pretty much everything.
Basically what I'm trying to do is simplify stuff... or something... I don't really know.
What I want to do is set a a group of weapon types to a variable, such as a list of one handed weapons to store all one handed weapons. so I can load that variable and shorten everything... really.
The whole use of this is so I can set it so I can have a unit pick up a type of weapon, and then change the animations of the unit so it uses one handed animations instead of fist fighting animations or two handed animations.
Now because I have no idea what I'm really doing here with item-types and putting items in to a type or item-class... I don't really know the best way to do this... so if someone could show me what I'm doing, I would really appreciate it.
I usually work in GUI because... no reason really... just haven't bothered to learn Jass...
Basically what I'm trying to do is simplify stuff... or something... I don't really know.
What I want to do is set a a group of weapon types to a variable, such as a list of one handed weapons to store all one handed weapons. so I can load that variable and shorten everything... really.
The whole use of this is so I can set it so I can have a unit pick up a type of weapon, and then change the animations of the unit so it uses one handed animations instead of fist fighting animations or two handed animations.
Now because I have no idea what I'm really doing here with item-types and putting items in to a type or item-class... I don't really know the best way to do this... so if someone could show me what I'm doing, I would really appreciate it.
I usually work in GUI because... no reason really... just haven't bothered to learn Jass...