Edited Buckus Code said:[State 190, 2]type = ChangeStatetrigger1 = Time = 0value = ifelse(enemy,name = "Zim",194,190+(random%3))In the stateno 190.This means that when the enemy's name is Zim then stateno 194 will be the intro, if the enemy's name is not Zim then the intro state will be randomly decided between statenos 190 and 193.
GT Yzan said, May 08, 2011, 06:21:30 pmEdited Buckus Code said:[State 190, 2]type = ChangeStatetrigger1 = Time = 0value = ifelse(enemy,name = "Zim",194,190+(random%3))In the stateno 190.This means that when the enemy's name is Zim then stateno 194 will be the intro, if the enemy's name is not Zim then the intro state will be randomly decided between statenos 190 and 193.Oh, ok and nice Lucky Star picture!Oh, and another problem is that Gir is vsing zim but Gir is doing his stance instead of the VS. intro.
Pls don't tell me you copied and pasted that code. It was just an example. Edited Buckus Code said:[State 190, 2]type = ChangeStatetrigger1 = Time = 0value = ifelse(enemy,name = "Zim",A,B+(random%C))A is the statedef you want your character to go into when facing a certain opponent. B is the first intro that you have and C is the amount of total intros that you have minus 1.
mahboy said, May 08, 2011, 06:09:06 pmHow'd I do that, I am trying to make a intro where GIR faces against ZIM.Just do this when it was better:Code: [State 190, 1]type = ChangeStatetrigger1 = p2name = "Invader Zim"trigger2 = p4name = "Invader Zim"value = 190
WlanmaniaX said, May 09, 2011, 07:58:21 pmmahboy said, May 08, 2011, 06:09:06 pmHow'd I do that, I am trying to make a intro where GIR faces against ZIM.Just do this when it was better:Code: [State 190, 1]type = ChangeStatetrigger1 = p2name = "Invader Zim"trigger2 = p4name = "Invader Zim"value = 190I already did. please check out imdeadimdead2 on youtube you'll see that i have more intros than just a vs. zim intro.