Posted by Kenthos
in Quick variables question (Started by Kenthos February 24, 2010, 08:50:20 amBoard: M.U.G.E.N Development Help
I thought if the two Helpers where setting a var based on a pos x that when they where in the same spot a -3 state could set a ParentVar change them.
in the first helper
[State 0, ParentVarSet]
type = ParentVarSet
trigger1 = time >= 0
v = 12
value numhelper(4) = Pos X
persistent = 1
and the other
[State 0, ParentVarSet]
type = ParentVarSet
trigger1 = time >= 0
v = 11
value numhelper(3) = Pos X
persistent = 1
then the -3 state
[State 0, VarSet]
type = VarSet
Trigger1 = Var(11) = Var(12)
trigger1 = numhelper(3) > 0
trigger1 = numhelper(4) > 0
v = 13
value = 1
persistent = 1
but it seemed like it was not picking up the variables. so after trying that for awhile i set this in the helper that was going to change when the other met it in the same Pos X
[State 0, ChangeState]
type = ChangeState
trigger1 = numhelper(4) = Pos X = numhelper(3) = Pos X
value = 609
ctrl = 0
persistent = 1
It still won't change, if anyone can spot what I'm doing wrong please point it out.



but It works great now..