What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

LevelBot.CreateCombatBehavior()

Narayan

Member
Joined
Oct 26, 2010
Messages
405
Reaction score
2
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?
 
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:
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(),
yea dude its a composite, you just call it. actions are for none composite actions like Voids
 
Back
Top