[Pogamut-list] Why does my bot cant see any NavPoint ?

yayu pogamut-forum at artemis.ms.mff.cuni.cz
Mon Jul 13 23:32:10 CEST 2009


Re: Why does my bot cant see any NavPoint ?

Author: yayu

Hi people i fpund that exist a method, seeAllNavPoint(). It return all NavPoint around the bot. I dont know yet why the method getSeeAnyNavPoint dont return null, ie, a list empty.

sorry for my english.

Matias.

> Hi people,
> 
>       i'm programming a bot and i dont know why it cant see any NavPoint, ie, within the doLogic(), begin part of the code is 
> 
>  if(this.memory.getSeeAnyNavPoint()){
>             item = null;
>             this.body.runToNavPoint(this.memory.getSeeNavPoint());
>             this.log.log(Level.INFO,"ME dirijo al NavPoint " +           this.memory.getSeeNavPoint());
>         }else if (this.memory.getSeeAnyReachableNavPoint()){
>             item = null;
>             this.body.runToNavPoint(this.memory.getSeeReachableNavPoint());
>             this.log.log(Level.INFO,"vi un NavPoint alcanzable, me dirijo a el");
>         }else .....
> 
> Why i cant see the message in the log?? do i must config somethig to see the NavPoint??
> 
> Sorry for my english,
> 
> 	
> Any help is appreciate





More information about the Pogamut-list mailing list