• Visit Rebornbuddy
  • LevelBot.CreateCombatBehavior()

    Discussion in 'Archives' started by Narayan, Apr 25, 2011.

    1. Narayan

      Narayan Member

      Joined:
      Oct 26, 2010
      Messages:
      405
      Likes Received:
      2
      Trophy Points:
      18
      Hi All,

      I'm currently messing around with some bot base stuff out of interest. I'm trying to get HB to pull units in range however LevelBot.CreateCombatBehavior() doesn't cut the mustard. Could this be due to the profile im using for example or is there anything else obvious I may have missed?
       
    2. Narayan

      Narayan Member

      Joined:
      Oct 26, 2010
      Messages:
      405
      Likes Received:
      2
      Trophy Points:
      18
      Never mind fixed it myself. For reference in case anyone else stumbled upon this.

      I was doing this
      Code:
      new Action(ret => LevelBot.CreateCombatBehaviour())
      when it should have been just

      Code:
      LevelBot.CreateCombatBehaviour(),
       
      Last edited: Apr 26, 2011
    3. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      yea dude its a composite, you just call it. actions are for none composite actions like Voids
       

    Share This Page