HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is there any way to make a new item class?

07-07-2004, 06:39 PM#1
sheep_killer_zp
Is there any way to make a new item class?
like in the triggers that need you to define a item class.
so i can make an item class "weapons" or "Armor"

Thnx ahead :D
07-08-2004, 09:40 AM#2
sheep_killer_zp
cool! i just dunno JASS...
is there a way to do it without JASS?
07-08-2004, 11:31 AM#3
Gilorn13
Or... Do you want to put that in easier, more understandable terms for a newbie?
07-08-2004, 12:46 PM#4
garith
Quote:
Originally Posted by Gilorn13
Or... Do you want to put that in easier, more understandable terms for a newbie?

lol, well i know NOTHING about JASS but im sure there is a way to do that... i think ive seen it done before, but only in amazingly advanced maps... try season of uncertianity.. i think they had it there...
anyway.. im not sure,, there is a way but im pretty sure you cant do it in the original editor without any Jass or insane triggering beyond me.. sorry i couldent be of more help!
07-08-2004, 03:20 PM#5
sheep_killer_zp
im sure i can do that with about 29384 triggers and virables i just dont want to sit 2400
hours infront of the editor....

ill just start learning JASS it took me about 4 days to learn HTML JASS cant me much harder..
07-08-2004, 04:04 PM#6
Pyrus
Well I heard JASS is more like Java, which is a programming language; so if you had any previous programming experience you'll probabply learn Jass fine.
07-08-2004, 04:16 PM#7
weaaddar
You know you can just use the item classes that exist or the custom value of the item as your class. I know that requires 8407859373 triggers though [/sarcasm]

If you don't know most real programmers would if they could only have one trigger. You should not think that having more triggers is better, on the contrary it is much much worse.
07-08-2004, 07:54 PM#8
Gilorn13
What I plan on my map would need more than that many item classes... Dunno how many more, I'll see when I actually get it all together.
07-08-2004, 11:51 PM#9
th15
There's plenty of item classes as it is. Think the map out properly before flailing around like a headless chicken.

As for item classes, they're not the only way to check equipment type. You could initialize any items in a custom class to an item-type array and check loop through that array to check if the item is in the custom class. Its not overly complicated and does NOT require JASS (screw, there's nothing you can do in JASS that you can't in GUI, JASS is just easier sometimes and more efficient the rest of the time).
07-09-2004, 02:31 AM#10
weaaddar
I say your lying there is plenty you can do with jass that you can not do in GUI. Try to do anything I've made in GUI if you like to prove me wrong.
07-09-2004, 04:15 AM#11
th15
Perhaps I coudl have been clearer. I was attempting to dispell the myth that you need JASS for even simple loops. More newbies think that JASS is the answer to EVERYTHING.

I guess my definition of GUI is just a preference of using the WE. I use enough custom text and script to do whatever I need, I just can't be bothered to code all my triggers.
07-11-2004, 02:50 PM#12
sheep_killer_zp
lol i just found out.
much simpler.
there is a verable (or how ever you spell it) for item classes just set item class trigger.
that simple!