Jump to content
Due to a recent security issue, we are now mandating Security Questions on all accounts until further notice. In addition to this, we urge everyone to change your passwords as soon as possible. ×
  • 0

Vs Character Intro


CozySquirtle

Question

I'm trying to make a Vs Intro for both Charmander and Squirtle, I believe I did this right, however, its not working. May I ask what the problem might be?

 

;Vs Squirtle
[statedef 190]
type = S
ctrl = 0
velset = 0, 0
 
[state 190, vs Squirtle]
type = changestate
trigger1 = var(1) != 3 && numenemy
trigger1 = !(teammode = simul) && !(enemy, teammode = simul)
trigger1 = enemy, authorname = "Ky" && enemy, name = "Squirtle"
trigger1 = (var(1) = 1 && enemy, var(1) = 2) || (var(1) = 2 && enemy, var(1) = 1)
value = 191
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

No, but I could try. I did, however, go in and edit/add more to it last night:

 

;Vs Squirtle
[statedef 192]
type = S
physics = N
ctrl = 0
anim = 191
velset = 0,0
 
[state 192, vs Squirtle]
type = changestate
trigger1 = var(1) != 3 && numenemy
trigger1 = !(teammode = simul) && !(enemy, teammode = simul)
trigger1 = enemy, authorname = "Ky" && enemy, name = "Squirtle"
trigger1 = (var(1) = 1 && enemy, var(1) = 2) || (var(1) = 2 && enemy, var(1) = 1)
value = 191
 
[state 190, 2] ;Assert this until you want "round 1, fight" to begin
type = AssertSpecial
trigger1 = 1
flag = Intro
 
[state 190, 4] ;Change to stand state
type = ChangeState
trigger1 = AnimTime = 0
value = 0
Link to comment
Share on other sites

  • 0

I changed the coding around. To be more accurate, someone on MFG was having a similar problem and they gave him/her a code to work off of. That, and I didn't use State 192 (I think it was?), I was using State 190 instead. 

 

If you don't mind would you give link where you see pls......

Link to comment
Share on other sites

  • 0

I'll do you one better and explain how I got it to work:

 

Step 1:

 

[state 190]
type = ChangeState
trigger1 = p2name = "Insert Char Name Here" | p4name = "Insert Char Name Here"
value = 192

 

Paste this directly under

 

; Introduction
[statedef 190]
type = S
ctrl = 0
anim = 190
velset = 0,0
 
Now, from my understanding the value can be anything as long as it's a value of 190 (Meaning 191, 192, etc.)
Also, be careful how you do this part "Insert Character Name Here" cause IT WILL play for any character with THAT NAME.
 
Step 2:
 
;Vs Insert Char Name Here
[statedef 192]
type = S
ctrl = 0
anim = 191
velset = 0,0
 
[state 191, 2] ;Assert this until you want "round 1, fight" to begin
type = AssertSpecial
trigger1 = 1
flag = Intro
 
[state 191, 4] ;Change to stand state
type = ChangeState
trigger1 = AnimTime = 0
value = 0

 

Make a new line below and paste this. Now, your animation doesn't exactly have to be 191, I just used that cause it was easier for me to remember

 

Step 3:

Click Save All and Test it out

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...