| 02-20-2006, 12:18 AM | #1 |
I use custom ability "Raise Dead" and summoned's unit is Hero(for ex : Hero Arthas) and add for my Hero. So I use trigger to get event when "unit spawn a summoned unit" And Disable exp gain for "Summoned Unit" But when run game, it won't disable exp gain for summoned unit ? Why ? How to disable exp for that unit ? |
| 02-20-2006, 12:23 AM | #2 |
shouldn't you disable experience gained for 'summoning unit' instead? |
| 02-20-2006, 01:57 AM | #3 |
You mean disable exp gain of Hero who have this ability ? But all I want is disable exp gain for summoned's unit ? I want new summoned's unit(Hero Arthas) won't steal exp of my Hero, but summoned's unit is Hero. So I disable exp gain for Summoned's unit(Hero Athar). But summoned's unit still gain exp ==> my Hero lost exp by half for each kill. |
| 02-20-2006, 11:12 PM | #4 |
Hey is there anyone here ? Please, answer me ! Thanks |
| 02-20-2006, 11:18 PM | #5 |
Well, if you don't want it to gain experience, is there any point it making it a hero anyway? |
| 02-20-2006, 11:56 PM | #6 |
Game probably never anticipated you'd be disableing XP gain on a summoned unit, so the trigger doesnt work. You could just set its XP to 0 every time a unit dies, or something. |
| 02-21-2006, 01:16 AM | #7 |
try temporarily changing the owner of the summon when it kills something then revert the previous order quickly but not too quickly. Or make every unit give 0 experience but you use triggers to increase the hero's experience |
| 02-23-2006, 12:23 AM | #8 |
try using triggering unit instead of summoned unit, this may or may not change a thing, but its worth a try if that doesn't work, make a fake ability that is perminant but does ABSOLUTELY nothing make a trigger that says, Events: Unit - A Unit Learns a Skill Conditions: Learned skill is equal to (the fake ability) Actions: Disable Experience gain for triggering unit then, when the unit is summoned, give them this ability... if that doesn't work then i would try vexorians idea |
| 02-23-2006, 04:45 AM | #9 |
To Sardrixx: It doesn't work :( btw, how to know exp that Hero earn after kill if every unit give 0 experience and then I must check what point Hero is going to level up(1-100 level ) ! omg! is it hard ? Is there another way ? |
| 02-24-2006, 09:06 PM | #10 |
vexorians idea isn't very hard, but it takes some time, you would have to make a different trigger for EVERY unit that will give exp... very painful, that is, unless you know jass... then you can just do a couple checks (on exp given and player that killed the creature) and if my previous attempt at disabling ressurected units then maybe they arent summoned???, try making it so when it changes owner its exp gain is disabled |
