| 08-24-2003, 07:23 PM | #1 |
I am trying to add a "spawned effect" (like one of those bleed effects etc. etc.) to a weapon when a player learns a custom ability. I want it to act like if you added a bleed effect to a weapon like at the start of the game or something, so it stays there forever, as soon as the player learns the ability. I looked in the editor and the best I could find (can't remeber exact triggers) but was something like "Hero Ability Comparison" and the other one was just "Ability comparison" The hero ability comparison just gave me "learned hero ability equal to ability" The problem with that is that you can only use abilities that are not custom. The ability comparison is something like "ability is casted equal to ability" With that I was able to choose my ability, but I don't want it to activate when ability is casted, I want it to appear when ability is "learned" So basicly, when a hero learns a certain ability, a effect will appear on the weapon permanently. Now is this possible? If so how would I do this? Thanks in advance Dark_Army |
| 08-24-2003, 07:59 PM | #2 |
Event: - Generic unit event: 'Learns an ability' Conditions: - Learning unit = XXX - Ability being learned = YYY Actions: - Create special effect on unit (if it is a constant effect) - Turn on Trigger ZZZ (if it is a one-time effect) Trigger ZZZ (Turned off at start): Event: - Every 5 seconds of the game (Variate it like you want) Action: - Create special effect on unit |
