blocking a helper

Started by Ah! Ya! Cos..., August 16, 2009, 03:00:03 AM

Previous topic - Next topic

Ah! Ya! Cos...

hi, i'm sure it's a stupid question, but here i'm blocked...so i request your help.

I have a helper "tousen" (command= a+b). (tousen is a char)
I can make a super with another helper "tousen". (command= F,DF,D,DB,B, a+b)

the problem is: I can make the 2 movements at the same time! that's why i could put 2 helpers "tousen" on the screen.

which trigger may i use? i tried "stateno!=" but doesn't work, i begin to understand (try to!) the trigger but here i'm lost...

thank you! ;)

Byakko

First, in the .cmd, the changestate to the super should be above the changestate for the simpler move. Then, in the state that summons the helper for the super, do you remove control ? Does the changestate for the simpler move require control in its triggers ?
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Ah! Ya! Cos...

#2
 First, The changestate of the super is above the changestate for the simple move.

here is the cmd codes :

-super with "tousen"
Spoiler (click to show)
;---------------------------------------------------------------
;BANKAI TOUSEN
[State -1]
type = ChangeState
value = 2300
triggerall = command = "HCB_ab"
triggerall = power >= 3000
triggerall = numhelper(10150) = 0
triggerall = statetype = S
trigger1 = ctrl = 1

;----------------------------------------------------
;BANKAI TOUSEN
[State -1]
type = ChangeState
value = 10150
triggerall = command = "HCB_ab"
triggerall = power >= 3000
triggerall = numhelper(10150) = 0
triggerall = statetype = S
trigger1 = ctrl = 0

-simple move with "tousen"
Spoiler (click to show)
;---------------------------------------------------------------
;CALL TOUSEN
[State -1]
type = ChangeState
value = 2100
triggerall = command = "ab"
triggerall = numhelper(10000) = 0
triggerall = statetype = S
trigger1 = ctrl = 1
;----------------------------------------------------
;TOUSEN
[State -1]
type = ChangeState
value = 10000
triggerall = command = "ab"
triggerall = numhelper(10000) = 0
triggerall = statetype = S
trigger1 = ctrl = 1

thanks

Byakko

#3
Why do the "CALL TOUSEN" and "TOUSEN" have the exact same triggers but send to a different state number ? Compared to the super, I'm guessing the "TOUSEN" should have trigger1 = !ctrl instead of = 1.
But then again, I don't really understand what you want to get when you allow a changestate to 10150 when you don't have control, and to state 2300 when you do have control. If you allow a changestate when you don't have control, isn't it normal if you go to state 2300, summon a first Tousen, then immediately go to state 10150 and summon a second Tousen at the same time if you perform the same command ?
That said, I'm also not sure what exactly is happening that shouldn't happen. You perform a hcb+ab, your character goes to state 2300 for the first "BANKAI TOUSEN", then while in the middle of the move, you perform... what command ? And which state do you go to when you do ?

So, first, describe what you want to allow under which circumstances, and second, describe what you're getting that shouldn't happen under which circumstances. When I say describe, I mean be very specific. You do what command, then what command at what point of the first move, and which state numbers do you get in.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.

Ah! Ya! Cos...

Thank you Byakko!!

I think i found thanks to you. First i remove the 2nd changestate of the super, and the 2nd "call tousen".
(je croyais qu'il fallait faire 2 changestates : un quand l'on appelle le helper et un autre pour le helper ... :knife:)
i put a ctrl= 0 to the super and it works pretty much...

lose a day (yesterday) just for this... --;