UPLOAD, SHARE, PRESERVE MUGEN FOR ETERNITY!

Results 1 to 3 of 3

Thread: How do I allow a move to be used in hitstun?

  1. #1
    Join Date
    Jan 2021
    Location
    Posts
    4
    Uploads
    0
    Comments
    0

    Default How do I allow a move to be used in hitstun?

    I want to allow a certain move to be able to be used in hitstun. How would I go around doing this? Thanks in advance.



  2. #2
    Join Date
    Sep 2017
    Location
    Posts
    632
    Uploads
    8
    Comments
    10

    Default Re: How do I allow a move to be used in hitstun?

    So I had a think about this, because I've never actually tried to do anything like this. Whatever works, it's going to be something you want to do in the CMD file, and you probably want it to have its own SCTRL.

    I have made moves that work during block (escape roll and body blow) and they use gethitvar for a trigger. That looks like this:

    Code:
    [State -1, Escape GC]
    type = ChangeState
    value = 730
    triggerall = command = "GC"  ;; the command
    triggerall = RoundState = 2 && StateType != A  ;; Fighting is happening, and I'm not in the air
    trigger1 = (stateno = [120,155]) && power >= ifelse(var(15) > 0,0,1000) ;; I make sure that I'm blocking and have sufficient power to do this move
    trigger1 = GetHitVar(guarded) = 1 ;; I got hit something and blocked it
    So this is different from a normal move in that I'm not checking for ctrl, because ctrl will be 0 if I'm blocking. Same for your case. If you're in hitstun, you don't have ctrl. MoveType might be a better trigger than GetHitVar for you, but you might still be able to add some extra specific triggers that way. What should work for you, is something like this:

    Code:
    [State -1, Example Thing]
    type = ChangeState
    value = 990 ;; example stateno
    triggerall = command = "example"
    triggerall = RoundState = 2 && StateType != A ;; you can probably remove this line if the move can work in the air
    trigger1 = MoveType = H ;; this means that you are being hit
    ignorehitpause = 1 ;; yeah, this might help
    Last edited by NotAGoodName; May 01, 2022 at 08:04. Reason: minor error/typo

  3. #3
    Join Date
    Jan 2021
    Location
    Posts
    4
    Uploads
    0
    Comments
    0

    Default Re: How do I allow a move to be used in hitstun?

    Thanks so much! It works perfectly!

Similar Threads

  1. Ai Move Control (Preventing Move Interruptions
    By NLynxX-- in forum MUGEN Development Help
    Replies: 1
    Last Post: Mar 29, 2021, 16:28
  2. I want to modify a mugen mechanism (hitstun and others)
    By Krauserx2k2 in forum MUGEN Development Help
    Replies: 1
    Last Post: Jun 30, 2020, 20:59
  3. Special Move and Hyper Move Clashing
    By Zobbes in forum MUGEN Development Help
    Replies: 12
    Last Post: Sep 02, 2018, 01:20
  4. Replies: 2
    Last Post: Jun 19, 2018, 11:30
  5. I need hel to ex move
    By Ingrid Cold in forum MUGEN Development Help
    Replies: 0
    Last Post: May 14, 2018, 19:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •