| 09-07-2008, 11:59 AM | #1 |
hi I'm new in this forums but I just want to ask if there is a trigger that can detect a hero's level |
| 09-07-2008, 12:07 PM | #2 |
Yes. There is an event that fires when a hero wins a level, EVENT_PLAYER_HERO_LEVEL (for player unit events) and EVENT_UNIT_HERO_LEVEL (for specific unit events). And there is also a native to get a hero's level: GetHeroLeve(hero) |
| 09-07-2008, 12:14 PM | #3 |
uhm sorry but I dont understand, is this jass??? cause I dont know it |
| 09-07-2008, 12:29 PM | #4 |
| 09-07-2008, 12:42 PM | #5 | |
Quote:
well what I wanted was like this Events (Unit enters a region) Conditions (something like a units level is 10) Action (do action) is there something like this??? ZOMG theres a lot that I dont know o.O |
| 09-07-2008, 01:02 PM | #6 |
So you want to detect what level a hero is? Configure Condition --> Integer Comparison --> Hero Level of Unit X equal to Y Trigger: EDIT! Don't worry if you don't see (==), I use UMSWE and it's an add on. |
| 09-07-2008, 01:13 PM | #7 | |
Quote:
thanks man I didnt see that, it was in the integer right ![]() EDIT hey I saw you before in a tutorial right |
| 09-07-2008, 01:20 PM | #8 |
Probably the item combining tutorial, seeing as that's the only one I've made... I think... |
| 09-07-2008, 01:33 PM | #9 | |
Quote:
of course! yeah thats it I think, I read that thread even before I registered here, its a good thing I registered thanks man you'll be seeing me here often cause I dont know much of the editor and JASS too lol |
| 09-07-2008, 08:43 PM | #10 |
Welcome to wc3c dude!, I just want to suggest to you, if you have time, to read the jass tutorials in the tutorials section, you can write better scripts on your maps if you have jass knowledge. Anyways I hope you succeed. |
| 09-08-2008, 11:03 AM | #11 |
thanks man I will JASS will be in my system in no time(99999999days) |
| 09-08-2008, 04:20 PM | #12 | |
Quote:
Don't sweat it. It's just a matter of practicing and getting used to what exists, what commands you can use in what situations and such. Just gotta practice and get some experience under your belt :) |
