A recent problem with the editor is a set that will not execute it's effects properly. Here's the situation:
Let's say there are 3 behaviors. I will refer to these as A, B, and C. Behavior A enables a weapon and deactivates 2 other weapons that are enabled by B and C. Behavior B and C work the same way. I have 3 buttons (one for each weapon) that activates a set. The set applies one Apply Behavior and 2 Remove Behaviors, but for some reason does not work! Also, If I use only 2 Behaviors (Behavior A activates weapon A and deactivates weapon B, with the sets only having a remove behavior and apply behavior command) it works perfectly fine. When I use 3 behaviors (where the sets have to apply A, remove B, and remove C) it does not work!
An example chart of Behavior A to make things a bit easier to understand:
Button A > Ability A > Set A > Apply A, Remove B, Remove C
umm, do all 2er combination work? A,B A,C and B,C? if not you got your error.
which effects do not work? is the new buff added or are the others not removed?
did you change any propability of any effect?
are there validators on the effects?
did you try to set the minimum and maximum effects number of the set effect to 3?
Do you want that the behaviors are removed or just disabled? You could add some validators like unit behavior count so you could leave the effect part.
For the activate part, you could do a simple trigger that activate the specific behavior depending on the dummy effect chosen (ex: button A activate dummy effect A who fires trigger A who enable behavior A who deactivate behaviors B and C via validators).
A recent problem with the editor is a set that will not execute it's effects properly. Here's the situation:
Let's say there are 3 behaviors. I will refer to these as A, B, and C. Behavior A enables a weapon and deactivates 2 other weapons that are enabled by B and C. Behavior B and C work the same way. I have 3 buttons (one for each weapon) that activates a set. The set applies one Apply Behavior and 2 Remove Behaviors, but for some reason does not work! Also, If I use only 2 Behaviors (Behavior A activates weapon A and deactivates weapon B, with the sets only having a remove behavior and apply behavior command) it works perfectly fine. When I use 3 behaviors (where the sets have to apply A, remove B, and remove C) it does not work!
An example chart of Behavior A to make things a bit easier to understand:
Button A > Ability A > Set A > Apply A, Remove B, Remove C
Please help!
@Skitto: Go
umm, do all 2er combination work? A,B A,C and B,C? if not you got your error.
which effects do not work? is the new buff added or are the others not removed?
did you change any propability of any effect?
are there validators on the effects?
did you try to set the minimum and maximum effects number of the set effect to 3?
@FunkyUserName: Go
1. I feel a bit stupid now-there's a maximum/minumum set option?
2. The 2 effect sets all work completely fine
3. I did not change the probability
4. No validators.
5. I'm not sure which effects word and which do not. What I know is that it only applies Weapons A and B and does not remove them ever.
6. The source of my problem is probably 1.
I don't know if it would work but couldn't you just make a set of sets?
@Skitto: Go
yes in combination with the random flag you can do lots of funny things
Do you want that the behaviors are removed or just disabled? You could add some validators like unit behavior count so you could leave the effect part.
For the activate part, you could do a simple trigger that activate the specific behavior depending on the dummy effect chosen (ex: button A activate dummy effect A who fires trigger A who enable behavior A who deactivate behaviors B and C via validators).
The maximum/minumum amount of effects didn't seem to work. I will try all of the other suggestions.
@Skitto: Go
i forgot one possibility, the behaviour itself, do they deactivate anything, do they have validators? any effects besides activating a weapon?
I finally go it to work (Thanks to your guys' suggestions). Thanks for the help!