YesNoOk
avatar

assist friend in the fight (Read 716 times)

Started by logansam, February 23, 2018, 04:12:53 pm
Share this topic:
assist friend in the fight
#1  February 23, 2018, 04:12:53 pm
  • **
    • Colombia


i am working in a char with a assist friend in the battle, somebody knows how to do it??

like galford dog in the pic...

thank you
Re: assist friend in the fight
#2  February 23, 2018, 04:27:37 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Use Helper
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: assist friend in the fight
#3  February 23, 2018, 04:45:20 pm
  • **
    • Colombia
thank you, my friend but i need him in all the fight, not only when i attack
Re: assist friend in the fight
New #4  February 23, 2018, 07:09:13 pm
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
Use Helper :P

Create the helper in State 5900 (Round Initialization)
*Edit* AND in State -2 or State 0...... numhelper(**) = 0

Don't have a DestroySelf (or make it very strict).

Maybe duplicate some of your player's states as a base to work from, for the helper to change to.

Code it like you would an AI, with triggers like "P2Dist" and redirections like enemynear, to change states to move, attack, block, etc.

Last Edit: February 24, 2018, 01:46:09 am by altoiddealer
Re: assist friend in the fight
#5  February 23, 2018, 10:10:50 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
Helpers created in state 5900 or during intros, are automatically destroyed if the intro is skipped
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!