HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I need mega trigger help

01-23-2005, 06:00 AM#1
weaaddar
I need to write an extending class of a PItem, called an EITem. Now a pitem allows you to pick up items anywhere and add them to any avaliable storage container.
The EItem was already written once, but like now I want to make it a PItem so that means that it can be displayed in storage containers. However, because I still like the system I want to keep the "old" list view system. The old list view system also creates its fair share of problems.

Since the List that the items are stored in the ELV can be access and extract EItems without worrying about what container they are in I'll have to add extra memory to the EItem and add a container field. I also will have to keep track of aquisition of said Eitem. Of course comes the question of how to do this.

But the real quincher is that one-click-equip thing. Since Eitems can appear in the inventory now, it only makes sense that you can equip items by clicking them when they are in your inventory! But how to do it?
I'm guessing I scan the list of Eitems currently equipped find all matching slots and find all the ones you meet the requirements for and find the one with the lowest priorty and de-equip that and equip this clicked Eitem.

So anyone have any idea how would I go about doing this?

P.s. if you don't understand any of that, and you shouldn't, then maybe its a good idea to not ask me to implement stupid things into my RPG engine. I'm tired of getting stupid suggestion that are totally infeasible, and I'm tired of stupid people who ask me to how to set up items. This system isn't for everyone if the word Jass makes you frown you should go away and stay away.

The above is an Actual FEASIBLE suggestion that I can do (not easily). The above is a suggestion that I want to do. Below is your average suggestion that is impossible and my regular mental reaction to it.

-Hallo weadar!
I waz wundering if u culd hlp me out! I wnt to use ur bag, cuz it is w00t. But I also want that itms in the bag will give buffs.
P.s write a SAVE CODE u know its a good idea.

--Hello Jackass who can't spell my name properly!
I was wondering if you could gain a few more iq points. I would simply love to write all that nonsense that you'd probably never use! I of course can write an algorithm to get all the abilities an item has. I'll get right on it. I'll then need to implement a system to somehow determine if an item gives passive or active abilities. I also will abadon DT4a, you know that RPG engine I've been working on for over a year because clearly why should I stick to my standards when some an overwhelming demand of morons suggest a far more intuitive notion!

Oh and a save code this too I'd love to do for you. Let see the latest version of drag and drop project lets you have an infinite amount of bags thousands of levels deep inside other bags so it should be no problem to pound out a save code. I can even somehow compress 9 trillion bits of data into a very acceptable 17 character code!
01-23-2005, 03:32 PM#2
trigger_overlord
i aint gonna do it for u coz i not enuf time but seriously look at Dialogs and Array Variables, it shudn't be too hard if i understand u right
01-23-2005, 06:49 PM#3
weaaddar
wow. Just wow, I think we have a winner as dumbest person alive.
01-23-2005, 10:10 PM#4
Vexorian
Err, I think you have to keep the old equip button, mostly because I have no idea on how one would unequip items, this is messy.
01-24-2005, 02:26 AM#5
weaaddar
yeah I do. No way around it, plus the old list view is cooler!
01-24-2005, 05:37 PM#6
trigger_overlord
maybe i didnt understand but still...u shudnt do stuff u don't know how! i dont and i can do practically nething
01-24-2005, 05:52 PM#7
weaaddar
Trigger_overlord, you don't really get this do you?
You see Lord Vexorian and I are programmers. We are much better at triggering for warcraft III then you are. My post was a joke, I had no idea how to do it, but I sat and thought about it and came up with a solution that only added a little bit of computing time and some amount of memory. I get lots of dumb requests, that was the point of my thread. If you would like to tone down your attitude maybe you should look into some of Vex's and my current work.
01-24-2005, 07:06 PM#8
trigger_overlord
erm...how do u know u better than me, i can program JASS C, C++, Visual Basic and Java so...and im sry bout that then
01-24-2005, 07:16 PM#9
mogmiester
Quote:
Originally Posted by trigger_overlord
erm...how do u know u better than me, i can program JASS C, C++, Visual Basic and Java so...and im sry bout that then
If oyu can program JASS so well, why dont you show us something that you have created?
01-24-2005, 07:35 PM#10
weaaddar
I can almost garuntee that I am indeed a better programmer.
I am a paid programmer, I am a CS student, and I am one of the most prolific coders for warcraft III. I would like you to stop spouting nonsense and show some work. If you can outdo DT4a or equivalant systems by all means.
01-24-2005, 07:53 PM#11
trigger_overlord
i wiped pc 2 days ago and i dont hav time now so no