Thread: Bot Commands
View Single Post
  #42  
Old 03-22-2016, 05:11 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Does anyone know if there was an issue with the old command #bot pull?

I'm using the exact same calling method and can't seem to agro anything.


EDIT: I found it..surprised this ever did work...

Code:
SendItemAnimation(other, Ammo, SkillArchery);
DoArcheryAttackDmg(GetTarget(), rangedItem, ammoItem);
'other' is the mob passed to do the attack on...

But, when doing the actual damage, GetTarget() is called - which is nullptr...


Duh!
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 03-22-2016 at 05:18 PM..
Reply With Quote