collapse

Author Topic: Custom state detected  (Read 1490 times)

0 Members and 1 Guest are viewing this topic.

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Custom state detected
« on: February 11, 2011, 08:23:05 AM »
There is a way to detect if you are on a custom state:
(Updated to avoid conflit with some non-standard custom states)

[1000, bla bla bla]
Type = VarSet
trigger1 = Stateno !=[5000,5210] && Stateno != [130,152] && MoveType = H
v = XX
Value = XX

Then the helper check it this is true and goes to the ground. You can make it without the var:

[1000, bla bla bla]
Type = ChangeState
TriggerAll = IsHelper(XXXX)
trigger1 = Stateno !=[5000,5210] && Stateno != [130,152] && MoveType = H
Value = XX

The logic is simple:
If the root is on a Hit state, the helper drops itself to the ground.
5000-5210 are hit states, 130-152 are block states (which are hit states) and moves with custom states SHOULD PUT P2 ON A "H" Movetype state.

But if the creator is lazy (like doesn't setting the movetype to H on the custom state) it will fail.
« Last Edit: February 12, 2011, 12:13:04 PM by O Ilusionista »



Offline Tha Lando ( Le CROM )

  • The coming return of the Omega Erro Sennin of CROM!
  • IMT Content Architect
  • *
  • Posts: 6415
  • Country: United States us
  • Last Login:October 18, 2024, 02:58:07 AM
  • The King Crom. Sprite HD Artist
    • Crom Interactive
    • Email
Re: Custom state detected
« Reply #1 on: February 11, 2011, 08:38:59 AM »
hmmmm i am seriously gonna write down all this coding solutions to things. gonna help me out big time. thanx for this post Big O :thumbsup:

Offline ClubSyN-X-TReME

  • Character and Interactive Stage Specialist
  • Club Syndicate Admin
  • *
  • Posts: 1641
  • Last Login:July 28, 2014, 06:54:54 AM
    • Club SyN -X-treme
Re: Custom state detected
« Reply #2 on: February 11, 2011, 10:58:08 AM »
But if the creator is lazy (like doesn't setting the movetype to H on the custom state) it will fail.

now you know what I have to deal with when i get ppl crying about, your works dont work with such and such character......

Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12476
  • Country: Brazil br
  • Last Login:November 11, 2024, 12:35:15 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Custom state detected
« Reply #3 on: February 12, 2011, 11:59:07 AM »
yeah, I know...

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

Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by LightFlare
[November 21, 2024, 09:44:09 PM]


Terrordrome: Rise of the Boogeymen Extended Version ( jeepers creepers) version by leonardo
[November 19, 2024, 10:22:47 PM]


Hill of the Nameless(1.1 Only) by Vegaz by LightFlare
[November 19, 2024, 10:50:39 AM]


Golden Axe Returns by gokudo99
[November 19, 2024, 03:59:31 AM]


D2TD VS Showcase Thread by D2TD
[November 17, 2024, 08:36:39 AM]


Barkley Shut Up and Jam! Stages by Vegaz by LightFlare
[November 12, 2024, 11:26:21 AM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[November 11, 2024, 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[November 11, 2024, 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[November 11, 2024, 07:00:56 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]

* IMT Calendar

November 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