The (Set) effect contains the (Damage) effect, and the added effect that I want.
The only thing I changed from the viking's original setup was that the Launch Missle's Impact Effect linked directly to (Damage) instead of the (Set) which contained the (Damage) and the added effect.
Why isn't it working?
I've checked everything... I even redid the weapon and the effects.. Still same result.. At the last step when I change from (Damage) to (Set) it stops doing damage...
My effect doesn't work on the custom unit, but on a unit with already added effects using sets (like the marauder) it does work.
Edit: I have a validator put on the Set. When I removed it, it worked! But even before I removed it, the validator conditions were being met.. Why wasn't it working?
And shouldn't it not attack at all if the Set validators where not being met?
Here is the validator:
Field MustHaveEnergy
Editor - Editor Comment
Editor - Editor Description
Editor - Editor Name MustHaveEnergy
Editor - Editor Prefix
Editor - Editor Suffix
Validator - Compare Greater Than
Validator - Failure Result NotEnoughEnergy
Validator - Ignore While Channeling 0
Validator - Other Unit + e_effectUnitUnknown
Validator - Result - Failure NotEnoughEnergy
Validator - Type Current
Validator - Unit + Source
Validator - Value 0
Validator - Vital Energy
I'm making a weapon with a specific effect. I've made the weapon just like the viking's.
The weapon's propreties are:
Effect - Effect is (Persistent)
UI - Damage Display is (Damage)
The Persistent effect's properties are
Effect - Periodic Effect is (Launch Missle)
Launch Missle effect's propreties are:
Effect - Impact Effect is (Set)
The (Set) effect contains the (Damage) effect, and the added effect that I want.
The only thing I changed from the viking's original setup was that the Launch Missle's Impact Effect linked directly to (Damage) instead of the (Set) which contained the (Damage) and the added effect. Why isn't it working?
Don't know why it wouldn't work. Maybe you should check again if everything is correct. Sometimes a single flag (or whatever) can break it.
Does your added effect work?
@Vitkar: Go
I've checked everything... I even redid the weapon and the effects.. Still same result.. At the last step when I change from (Damage) to (Set) it stops doing damage...
My effect doesn't work on the custom unit, but on a unit with already added effects using sets (like the marauder) it does work.
What's the Set Effect's Target Location Type set to?
@BumpInTheNight: Go
It's Unit.
Edit: I have a validator put on the Set. When I removed it, it worked! But even before I removed it, the validator conditions were being met.. Why wasn't it working? And shouldn't it not attack at all if the Set validators where not being met?
Here is the validator:
Field MustHaveEnergy
Editor - Editor Comment
Editor - Editor Description
Editor - Editor Name MustHaveEnergy
Editor - Editor Prefix
Editor - Editor Suffix
Validator - Compare Greater Than
Validator - Failure Result NotEnoughEnergy
Validator - Ignore While Channeling 0
Validator - Other Unit + e_effectUnitUnknown
Validator - Result - Failure NotEnoughEnergy
Validator - Type Current
Validator - Unit + Source
Validator - Value 0
Validator - Vital Energy
Forgive my n00biness >.< (it's in my name :P)
Awesome, yah man I've never gotten validators to work right when it comes to sets, something really strange about how they interact.
@BumpInTheNight: Go
Yeah... that is weird >.< The problem is I need the Validator or else the effect is useless xD
Edit: I tried putting the validator on the (Persistent) instead of the (Set) since the weapon is linked to it and not the set. It worked xD