YesNoOk
avatar

making a helper activate a throw (Read 912 times)

Started by Daimonmau, July 29, 2008, 05:17:43 am
Share this topic:
making a helper activate a throw
#1  July 29, 2008, 05:17:43 am
  • ***
I want to to make a move were the char try to hit the enemy at same time that he throws some helpers to try to hit the enemy to. If he hits the enemy then he does a throw, but I want that if some of the helpers hit the enemy then the throw activates as well (the char teleports and grabs the enemy)
The problem that I have is that when the helper hits the enemy he becames a copy of the char and does the throw, while my true char just stands there looking at the move.
Re: making a helper activate a throw
#2  July 29, 2008, 05:20:33 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
You need the animations of the helper doing the throw ..mugen doesn't magically bend and twist the animation to fit the situation you need actual throw sprites for the helper..and preferably different throw states for the helper<--that or use changeanim sctrls with the ishelper trigger.
Re: making a helper activate a throw
#3  July 29, 2008, 05:25:54 am
  • ***
no, you din't understand what I said: when the helper hits the enemy the move works correctly, but who is doing the move (doing the throw on the enemy) is the helper, a copy of my char, while I keep controling my real char (that is not doing anything)
Re: making a helper activate a throw
#4  July 29, 2008, 05:31:56 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
Now i understand it even less...i basically answered what you typed.


The problem that I have is that when the helper hits the enemy he becames a copy of the char and does the throw, while my true char just stands there looking at the move.

Please be more clear, as the second thing you typed is confusing ;)
Re: making a helper activate a throw
#5  July 29, 2008, 05:42:02 am
  • ***
aarrghh... my char has a move where he does a special kick. if the kick hits the enemy then he does a special throw, that's ok. at same time my char does this special kick he sends towards the enemy one helper (that's a clone of the char).
what I want is that when this clone (helper) hit the enemy he makes my char do the special throw. but the problem that is happening is that who is doing the special throw is the clone and not my char.
Re: making a helper activate a throw
#6  July 29, 2008, 05:49:35 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
so you use the helper(??),movecontact/stateno/etc. in the state of your characters and you take away the helpers state that makes him go into the throw....you need to think his out..the helper hits, your character teleports(assume you know how to teleport) then he goes into the throw.

so you would need this ..if your character stays in a certain state when the helper hits use a changestate triggered by 

helper(??),movecontact/stateno/etc.

or whatever, then have him go into a teleport state, then from the teleport state the throwstate.

if he doesn't have a  state where he stands and watchs he helper attack; put the code in the statedef -2

trigger how i said above..but use the numhelper(??)?=1 as a trigger to prevent debug spam.

Re: making a helper activate a throw
#7  July 29, 2008, 06:02:30 am
  • ***
[State 968, ChangeState]; the state of the special kick
type = ChangeState
trigger1 = *
value = 985; the state of the special throw
ctrl = 1

969 = the number of the helper
while the helper is going towards the enemy, the char is on the state 968


*I din't understand, is something like that? what I have to put in the trigger? now you explain better please
Re: making a helper activate a throw
#8  July 29, 2008, 06:03:39 am
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
this is the same problem i had before remember raja? should i just tell him what trigger to use?
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: making a helper activate a throw
#9  July 29, 2008, 06:15:53 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
i already told him the trigger it's right there.

helper(helper id number),movecontact/stateno/etc.

he'll figure it out once he puts his mind to it.
Re: making a helper activate a throw
#10  July 29, 2008, 07:41:43 am
  • **
also dont forget to add on the helper a destroyself, so it wont become a clon of the char....

BC

Re: making a helper activate a throw
#11  July 29, 2008, 10:30:22 am
  • ****
    • UK
    • www.mugenevolution.co.uk/Forum
what about a nothitby.
click the image to join my forum ;)
Re: making a helper activate a throw
#12  July 29, 2008, 10:56:55 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Nothitby is only neccessary if the helper has blue hitboxes.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: making a helper activate a throw
#13  July 29, 2008, 03:29:56 pm
  • ***
greeeaat help rajaboy, what is the cost to you tellme CLEAR what I have to do instead of this "helper(helper id number),movecontact/stateno/etc."?

make a control+c/control+V on the code I posted and fix it explaining what you did (or other one that know how to do this to)
Re: making a helper activate a throw
#14  July 29, 2008, 03:42:58 pm
  • ******
  • YOMI
    • www.justnopoint.com/lbends
I don't believe in handing out free answers, so here's the breakdown.
It's called a redirection trigger, by using the comma it tells mugen to look somewhere else for the trigger, for example:

Code:
trigger1 = movecontact

This will trigger if your character has made contact with a move (hit or blocked)

Code:
trigger1 = enemy, movecontact

This will trigger if one of your opponents has made contact with a move.  It's the same trigger, but it's looking at your opponent's state instead.
What Rajaboy is suggesting is this:

Code:
trigger1 = helper, movecontact

This will trigger if one of your character's helpers has made contact with a move.  You can do this with other triggers like such:

Code:
trigger1 = helper, var(15)
trigger1 = helper, stateno = 600
trigger1 = helper, movehit

And lastly, you can tell mugen which helper you care about if it's not just any helper by specifying the ID number of the helper in parenthesis.

Code:
trigger1 = helper(ID), movehit

So get in the habit of using ID numbers for your helpers!
Re: making a helper activate a throw
#15  July 29, 2008, 03:46:01 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
greeeaat help rajaboy, what is the cost to you tellme CLEAR what I have to do instead of this "helper(helper id number),movecontact/stateno/etc."?

make a control+c/control+V on the code I posted and fix it explaining what you did (or other one that know how to do this to)

???

Your sarcasm is not appreciated :-\

The cost is CLEAR itself..... you not learning anything.. someone gives you a code, you paste, it your done. No learning involved. Anyone can copy and paste on a computer...if you want direct handouts then not from me..thats not how i was taught and i will not teach like that.

The docs in your mugen folder explain clearly what this does, check it out. Me myself will not give code handouts so easily unless i'm sure you will understand it.
if that is what you want please wait for someone else to give you the exact code.

Cheers,Rajaboy

Mugen/Docs/Exp-----Trigger redirection----helper/helper(ID)

explains how triggers can be redirected to a helper so you can trigger codes with it.


Also Good tutorial Above this post by Zangief.
Re: making a helper activate a throw
#16  July 29, 2008, 03:55:25 pm
  • ***
blah, blah, half thanks rajaboy. I am not being not educated here, since I not know you I don't care how you learn your mugen stuff, I was expecting a quick and direct aswer.
but really thanks to the zanguief guy, off course I knew the movecontact stuff, but I din't knew that I could put a "," on the triggers.
Re: making a helper activate a throw
#17  July 29, 2008, 04:05:59 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
blah, blah, half thanks rajaboy. I am not being not educated here, since I not know you I don't care how you learn your mugen stuff, I was expecting a quick and direct aswer.
but really thanks to the zanguief guy, off course I knew the movecontact stuff, but I din't knew that I could put a "," on the triggers.

Oh really? :-\ i don't know you and i cared how you learned mugen stuff. "Not being educated" your gathering and storing information to use in the future that is education. something you didn't practice or work at all to get will not last aslong as something you did work to get.

Good to see your not willing to go all the way.

Good Luck coding. i have hopes you will do better my friend i have faith in everyone as long as they try ;) please just try your best.

i don't argue so don't take this as one.

Cheers,Rajaboy ;D
Last Edit: July 29, 2008, 04:12:14 pm by RajaaBoy
Re: making a helper activate a throw
#18  July 29, 2008, 04:12:42 pm
  • ******
  • YOMI
    • www.justnopoint.com/lbends
There's no reason you can't get your point across without being rude about it.
Re: making a helper activate a throw
#19  July 29, 2008, 04:19:24 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
i am never rude.
the things i said aren't rude at all just telling if you work harder to do something then it will pay off later.please don't tell me i am rude. that is not the case at all.

I am done with the Matter at hand.

@
daimonmau
Like i said try your hardest and it'll pay off big time, and that extends beyond the boundaries of mugen; mugen is insignificant compared to real life important things.

Cheers,Rajaboy ;)
Re: making a helper activate a throw
#20  July 29, 2008, 04:27:51 pm
  • ***
aaaaarrrrgghhh... I never said anyone here is being rude, and is not my intention to seens rude. rajaboy, you said that stuff about you have learned your mugen stuff someway and will not teach the other way, etc. that's the why of my aswer and... haaa, forget, there was to much misunderstandings here and a full explanation would be boring.
so, forget it all.