| 03-30-2004, 06:19 PM | #1 |
Hi! I'm having a bit of trouble with my trigger... Basically what it does is this. There are two abilties one called CAMO and one called CAMO [HELL] They transform the unit into different things based on the AREA that character is in. Therefore i have rigged script to REMOVE ABILITY CAMO ability from unit when they go to hell and ADD CAMO [HELL] ability, then a number of skill points are instantly granted based on the level of the ability just lost, and the unit learns an equivalent level in the new skill. When they go back to to the heaven area, vice versa, Camo is switched with Camo [Hell] . Can ya dig it? The math calculations are all right, and it SHOULD work. But the issue is this...Lets say i learn a level 3 Camo and go to the hell area. Now I have only a level 1 CAmO [ HELL ] when i should have it to level 3!!! wtf? But this aint the biggest problem. When i go back to heaven from hell, it looks as though it DOES NOT re-learn the old camo ability. This leads me to believe that once an ability has been "removed" it can never be "re-added" later, This seems very stupid, and is there a work around. Another issue i have been having on a completely unrelated topic is this. I just made a simple script that does this : Neutral Building - Remove "Upgrade Demonic Hide" from all marketplaces Demonic Hide is a unit, and I wish to have it removed from the selection in all marketplaces. However, it DOES NOT remove itself when the trigger is fired. Yes, the markeptplaces all have the "SELL UNIT" ability too, so wtf is happening here? ANY help at all would be GREATLY appreciated :) |
| 03-30-2004, 06:50 PM | #2 |
Once an ability is removed, it is permanent. You cannot relearn an ability. |
| 03-30-2004, 06:51 PM | #3 | |
Quote:
That's F*cking ridiculous. |
| 03-30-2004, 09:07 PM | #4 |
As an alternative have dummy abilities that do nothing. When the user enters Hell have triggers that moves normal unit to a hidden corner and moves the Hell unit from the corner to where the original unit was. Use variables to store data. Have conditions that check which level spell he has and replace with the corresponding level Camo. |
| 03-30-2004, 09:19 PM | #5 | |
Quote:
Pointlessly complex for what I want to do i suppose...Im just going to make it a variant of the invisibility spell.. |
