[mcode][Statedef 190]anim = 190ctrl = 0[State 180, variable set for author and character name]type = VarSettriggerall = enemy,name = "Akuma" && enemy,authorname = "blackchaos07"trigger1= time = 0v = 15value = 0[State 190,st ]type = ChangeStatetriggerall = var(15)!=0trigger1 = time = 0value = 191+random%3ctrl = 0[/mcode]im new to coding custom intro's with other characters so i knew there'd be some minor obsticals.the idea of the code above was to set the variable 15 to the value of 0 if then enemys name = "Akuma" and the Authorname = me basically... if it does var(15)=0 when time = 0.in the changestate ive got the triggerall as when var(15) does not = 0... which i was hoping meant that the enemys name isnt akuma nor the authorname is correct. so there for it can continue with the intro choice.but instead no matter who i face it tries doing the custom intro which is state 666.can someone tell me where im going wrong here.
i was thinking do i even need a variable?cant i just make a changestate above the random one.. with the triggerall as the enemy name and authornameand trigger as whatever.
ok problem solved...... lol sorry for spamming.[mcode][Statedef 190]anim = 190ctrl = 0[State 190,st ]type = ChangeStatetriggerall = enemy,authorname = "blackchaos07" && enemy,name = "Akuma"trigger1 = teammode=singlevalue = 666ctrl = 0[State 190,st ]type = ChangeStatetrigger1 = time = 0value = 191+random%3ctrl = 0[/mcode]thats all i needed.
having a position problem this time lol this is the actuall intro now, not when to change to the state.if i go into watch mode and select blanka as p1... and akuma as p2.. their positions are fine...the only persons position i changed was akuma anyway to make him appear further back.when i select akuma as p1 and blanka as p2 i get this problem....im guessing for akumas posset do i need an ifelse(facing=1,blah,blahblah)?(as usuall whilst asking ill be trying so i may fix it lol)
well first of all they both need a facep2 in the statedef lol.but akumas position needs fixing still..when akuma is p2 x = 130 works, but when he is player1 he needs -130checking the docs EDIT: ifelse(teamside=2,130,-130) Wohoo lol
during a custom intro.. when i set p2's postion further back a little its fine... but when then announcer says round 1 fight it kinda resets his position to the default.. is there a way of overriding this?
Quoteduring a custom intro.. when i set p2's postion further back a little its fine... but when then announcer says round 1 fight it kinda resets his position to the default.. is there a way of overriding this?even though this topic is old now because i fixed the problem if anyone has the same problem heres what i did....using assertspecial (or blank anim) for both characters while the portriat pics and text were active, and reset their positions before removing the invisibility at the required time.