collapse

Author Topic: Cant figure out  (Read 287 times)

0 Members and 1 Guest are viewing this topic.

Offline carloskillar3675

  • Initiate
  • **
  • Posts: 111
  • Last Login:June 19, 2013, 04:05:57 PM
    • Email
Cant figure out
« on: August 14, 2011, 08:04:19 PM »
could someone please show me how to enable a move after winning '1' round like a ultra for KI



Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12473
  • Country: Brazil br
  • Last Login:September 07, 2024, 07:23:21 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Cant figure out
« Reply #1 on: August 14, 2011, 08:38:04 PM »
Depends. If you want to use the move when you are not on the first round, beeing won it or not, its quite easy:

Open your CMD and at the move you want to use, add this:

Quote
triggerall = RoundNo >0

But if you wanna use it just when you actually WON the first round:


1) We will use a variable to keep track if we already won a round or not. But variables are reset on every round, so we need to avoid that.

Open your char main .cns file and search for "IntPersistIndex" and put the value to 50. this means that every variable that is higher than 50 won't be reseted, and we will be using the var 51 to make this.

2) At the win state of your char, paste this code:

Quote
[State 0, VarSet]
type = VarSet
trigger1 = Time = 0
v = 51
value = 1

Then, at the cmd, you add:

Quote
triggerall = Var(51)

Offline carloskillar3675

  • Initiate
  • **
  • Posts: 111
  • Last Login:June 19, 2013, 04:05:57 PM
    • Email
Re: Cant figure out
« Reply #2 on: August 14, 2011, 09:02:44 PM »
I'll try it now, thank you for answering the question  ;D

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

thunderstrike eric masterson by wacky thaxie
[Today at 06:09:19 PM]


Classic VS : Balrog by ELECTRO
[September 25, 2024, 11:44:58 PM]


Justice League Seattle Stage by Vegaz by LightFlare
[September 23, 2024, 12:14:06 PM]


Ancient Gears Stage 1.1 & 1.0 by MatreroG
[September 20, 2024, 11:59:18 AM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]

* IMT Calendar

September 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 [26] 27 28
29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal