- Joined
- Oct 5, 2008
- Messages
- 355
hello there,
i wanted, to improve a system of mine, to stack abilities dynamically on the same command card space to arrange the abilities in a nice looking order. For testing purposes, i created the test map in the attachement.
it consists of a blank space in which you can summon a footman. you can stack abilities on his command card by typing:
n: removes the last unit and creates a footman
n1: removes the last unit and creates a fresh knight
a: places abilities a,b,c in that order
b: places abilities b,a,c in that order
c: places abilities c,a,b in that order
a1: places abilities a
b1: placed ability b
c1: places ability c
d1: places ability d
r: removes ability a,b,c
When first adding the abilities, everything works as intendet: the first ability gets placed on the matching space, and every other ability placed afterwords stacks behind it, which is fine.
Now comes a weird part, you remove them all and try to stack them in a different order. What happens is that they get stacked the exact same way they were stacked before, even though you try a different combination.
Well, after removing the last unit and try it on a fresh one of the same type, the same happens. The abilities retain their order from the first try.
this is very pesky for us, and the worst part: the same thing retains itself when you create a new unit type (like a knight) and try a new order.
what is worse: removing one ability (like b) and adding a new replacement (like d) doesnt shove the new ability on b's old place, it will be stacked behind the other abilities. adding ability b again will result in it placed at its old place, puahing d further backwards.
So it seems the stacking rules are independent of the unit and retain for the rest of the game after they were applied the first time on a unit via trigger.
I write this to share my experience with this behaviour and to ask if someone found a consistend way to stack the command card fluently via triggers.
i wanted, to improve a system of mine, to stack abilities dynamically on the same command card space to arrange the abilities in a nice looking order. For testing purposes, i created the test map in the attachement.
it consists of a blank space in which you can summon a footman. you can stack abilities on his command card by typing:
n: removes the last unit and creates a footman
n1: removes the last unit and creates a fresh knight
a: places abilities a,b,c in that order
b: places abilities b,a,c in that order
c: places abilities c,a,b in that order
a1: places abilities a
b1: placed ability b
c1: places ability c
d1: places ability d
r: removes ability a,b,c
When first adding the abilities, everything works as intendet: the first ability gets placed on the matching space, and every other ability placed afterwords stacks behind it, which is fine.
Now comes a weird part, you remove them all and try to stack them in a different order. What happens is that they get stacked the exact same way they were stacked before, even though you try a different combination.
Well, after removing the last unit and try it on a fresh one of the same type, the same happens. The abilities retain their order from the first try.
this is very pesky for us, and the worst part: the same thing retains itself when you create a new unit type (like a knight) and try a new order.
what is worse: removing one ability (like b) and adding a new replacement (like d) doesnt shove the new ability on b's old place, it will be stacked behind the other abilities. adding ability b again will result in it placed at its old place, puahing d further backwards.
So it seems the stacking rules are independent of the unit and retain for the rest of the game after they were applied the first time on a unit via trigger.
I write this to share my experience with this behaviour and to ask if someone found a consistend way to stack the command card fluently via triggers.