| 12-27-2003, 02:38 PM | #1 |
Soul Absorb Events Unit - A unit comes within 250.00 of Shin'Zu 0000 <gen> Conditions (Unit-type of (Triggering unit)) Equal to Soul Actions Unit - Replace (Triggering unit) with a Soul being absorbed using The old unit's relative life and mana Unit - Change color of (Last replaced unit) to Green Wait 0.01 seconds Unit - Order (Last replaced unit) to Neutral Dark Ranger - Life Drain Shin'Zu 0000 <gen> This does not work, why? I know the trigger works because the Souls are being replaced. Only they do not use their skill. INFO: I took life drain, turned it into a unit ability, made it drain negative values,so why doesnt it work? |
| 12-27-2003, 02:46 PM | #2 |
I'm just tossing an idea out, but could it be that "replaced unit" refers to the unit before replacement and not the new one? I've not used the function so that's just my guess. Another idea, is that you may be referring to the wrong ability in the actions.. Though I do not know that because I assume from just looking that you didn't bother to rename it. |
| 12-27-2003, 03:25 PM | #3 |
1)Just look in the WE and youll see that replaced unit is the unit that the other unit is replaced with so i think im not that wrong there. 2)Ever tried ordering a unit to do one of you costum abilities? I even tried converting it to JASS but it just gave me the order string so I think i was also right assuming that one. Thx for the ideas, any more suggestions? |
| 12-27-2003, 03:47 PM | #4 |
I would say your problem lies in the wait action. They arent very reliable in triggers at all. If a few happen at the same time it will skip some. In any case the wait action is redundant. |
| 12-27-2003, 04:50 PM | #5 |
I completely agree with you that the wait is redundant thats why i did it away, I tested and it still does not solve my problem. If anyone thinks i did not base the spell of life drain, think again because i did. The only thing i can think of is that the units are not heroes and that the skill is not a hero skill anymore so the game thinks it isnt the same spell anymore. Although that would occur strange to me because its based of the order string and that stays the same. Any suggestions? |
| 12-27-2003, 04:56 PM | #6 |
Debug the trigger. Add game- display message before the first action. Make sure the trigger fires in the first place. Then we can determine if the problem lies in the event or the action. I suspect you are calling the wrong reference. The unit entering may be entering uit, instead of triggering unit. |
| 12-27-2003, 09:24 PM | #7 |
If the units are replaced then the trigger should at least execute. Try to give the unit to yourself to check if you can cast the spell. |
| 12-28-2003, 07:24 AM | #8 |
Does the unit you replaced the old unit with have the spell? Does the unit you replaced the old unit with have enough mana? Not sure if either one of these matters (I don't use the Cast Ability actions), but if I had issues with something like this, I'd check these two first. |
| 12-28-2003, 05:36 PM | #9 |
AAAAAAAAAAAAAAAAAAAAAAAAAARGH, It didnt have any MANA!!!!!!!! THANKS SO F*CKING MUCH MADFUNK, I owe you one. |
| 12-28-2003, 05:55 PM | #10 |
No problem :) Rule of thumb: The hardest problems are always the simplest ones. |
