UPLOAD, SHARE, PRESERVE MUGEN FOR ETERNITY!

Results 1 to 3 of 3

Thread: Different kind of triggers

  1. #1

    Default Different kind of triggers

    So... I'm new to mugen coding so this might sound really stupid, but...

    What's the difference between using triggerall and using those other triggers with numbers?

    For example:
    Code:
    triggerall = power >= 1000
    trigger1 = (statetype = s) && ctrl
    trigger2 = stateno = 310
    trigger2 = movecontact
    trigger3 = stateno = 205
    What does the triggerall has that makes it different from the rest, and also, does the numbered ones have some form of hierarchy for executing, or what?



  2. #2
    Join Date
    Jan 2018
    Location
    Posts
    13
    Uploads
    1
    Comments
    0

    Default Re: Different kind of triggers

    triggerall is the condition that must be met every time you want to perform that command. trigger1, 2, 3 and higher assign specific conditions that must be met before executing the command. For example, triggerall = power >=1000 means that the attack can only be done with 1000 or more power, no matter what. Then, it checks the trigger1, 2, 3. Trigger 1 allows you to do the command if you're standing, but you could also chain that move from stateno 310 using trigger2. All triggers in general need a triggerall and trigger1.

  3. #3
    Join Date
    Oct 2015
    Location
    Posts
    71
    Uploads
    48
    Comments
    170

    Default Re: Different kind of triggers

    Numbered triggers mean that there are multiple ways to trigger the attack (Or whatever it is you're trying to trigger). There isn't a particular hierarchy; you can use trigger 1, 2, or 3, but not necessarily all three at once or in a particular order.

    Triggerall means that condition must be met with all triggers. Since it's "triggerall = power >= 1000" that means that you must have 1000 power or more regardless if whichever trigger method you're using.

Similar Threads

  1. What kind of game pad do you use?
    By pilotpower in forum General MUGEN discussions
    Replies: 46
    Last Post: Nov 06, 2022, 02:21
  2. What kind of music do you have in your mugen?
    By popocaneitor in forum General MUGEN discussions
    Replies: 66
    Last Post: Mar 29, 2021, 23:09
  3. What kind of music do you folks like to listen to?
    By RatKing64 in forum Shows : Manga, Comics, TV & Music
    Replies: 55
    Last Post: Sep 20, 2020, 17:08
  4. What kind of music do you use?
    By chexmix45 in forum General MUGEN discussions
    Replies: 6
    Last Post: Aug 27, 2017, 20:57

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
  •