View Single Post
  #2  
Old 07-05-2011, 01:00 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Seems like
Code:
int32 BotFollowDistance = atoi(sep->arg[2]);
which you have already tried, should work, however you will also want to use
Code:
c->GetTarget()->SetFollowDistance(BotFollowDistance);
rather than just
Code:
SetFollowDistance(BotFollowDistance);
Reply With Quote