YesNoOk
avatar

Can you make contact/redirect your own helper? (Read 4365 times)

Started by MGMURROW, October 21, 2024, 11:22:46 pm
Share this topic:
Can you make contact/redirect your own helper?
#1  October 21, 2024, 11:22:46 pm
  • avatar
  • ***
    • https://sites.google.com/site/mgmurrow/
I am coding Ibuki’s bomb v-trigger move and was needing help, I can throw the bomb but I cannot hit the bomb to move it closer to P2. When ibuki throws the bomb P2 can hit it, moving it towards P1 but P1 cannot hit it back towards P2. P2 is hitting the bomb back towards P1 with a hitoverride(don’t know if that’s the issue or best way for it to be coded).

Start at 2:30 in the video


Thanks for any help

MGMURROW
Re: Can you make contact/redirect your own helper?
#2  October 22, 2024, 09:54:25 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Check C18 Z2's blitz fireball. Her projectile can be hit by P1 and P2.

Basically your hitdefs will need to have the "affectteam = " parameter set as B (Both) or have different hitdef conditions depending if the projectile is on screen or not.
Alternatively, you can have the helper bomb to react different based on P1's stateno, movetype and distance from root. In other words, if P1 makes a low kick at a specific distance that would hit the projectile, then move the projectile forward.
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: Can you make contact/redirect your own helper?
#3  October 24, 2024, 12:51:22 am
  • avatar
  • ***
    • https://sites.google.com/site/mgmurrow/
maybe varset will help, can someone tell me how to display a helpers variable to the clipboard? or where i can see a helpers variable?

thanks again

MGMURROW
Re: Can you make contact/redirect your own helper?
#4  October 25, 2024, 09:24:31 am
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
helper(xxx),var(xxx)
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!