mugen chars, rare characters
Mugen | CHAT | Fighter Factory problem... - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Fighter Factory problem...
vhcm21Date: Wednesday, 2011-08-03, 10:50 PM | Message # 1
Adult
Group: Users
Messages: 45
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
Hi guys! I was creating more one char in fighter factory. But someone knows how to limit izanagi activations to 10? It's because with normal coding I can do it infinity times...
Thanks a lot for the answers...
 
MGSSJ2Date: Thursday, 2011-08-04, 8:25 AM | Message # 2
Mystic Coder
Group: contributor
Messages: 2954
Awards: 5
Reputation: 47
Reproofs: 0%
Status: Offline
You need to use vars... In the intro state of Danzou, you should set the var to 10 (the amount of Izanagi you want to use in all the round) with a VarSet:

[State 0, VarSet]
type = VarSet
trigger1 = time = 0
v = 5;this is the var number you will use to count Izanagi uses
value = 10;this is the amount of Izanagi you want to start the round with

Then, you add this to the Izanagi state, so it decreases the var 5 value by 1 each time it's used:

[State 0, VarAdd]
type = VarAdd
trigger1 = time = 0
v = 5;the var you set at the intro
value = -1;the value you want to decrease it, -1 will decrease by 1

Finally, you add this to the ChangeState of Izanagi in the CMD file:

[State -1, Izanagi]
type = ChangeState
value = 1000 ;here goes the Izanagi state number
trigger1 = var(5) > 0 ;one or more Izanagi left to use
trigger1 = command = "z"
trigger1 = statetype = S
trigger1 = ctrl

Hope you understand it.




Message edited by MGSSJ2 - Thursday, 2011-08-04, 8:27 AM
 
vhcm21Date: Thursday, 2011-08-04, 8:56 PM | Message # 3
Adult
Group: Users
Messages: 45
Awards: 0
Reputation: 0
Reproofs: 0%
Status: Offline
Thanks MGSSJ2!!! If I could give you reputation...
 
Mugen_BoyDate: Thursday, 2011-08-04, 9:37 PM | Message # 4
God Of Animation
Group: contributor
Messages: 2653
Awards: 6
Reputation: 22
Reproofs: 0%
Status: Offline
Quote (vhcm21)
If I could give you reputation

Don't worry about that ^^ I'll do it for ya


 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2024 Create a free website with uCoz