[Pogamut-list] item.event_pickup

michal.bida pogamut-forum at artemis.ms.mff.cuni.cz
Sat Mar 14 11:28:07 CET 2009


Re: item.event_pickup

Author: michal.bida

Try item pickup event. ADDINV or addinventory event arrives just when new item appears in the bot inventory - which is just once for every item category - so if you pick three rocketlaunchers you get addinventory event just for the first one. On the other hand item pickup event should arrive every time you pick something.

michal

> Hi!
> 
> I would like my bot recognize which item, that is running for, he just got, but Item.event looks like doesn´t work...
> 
> Im trying this:
> 
> this.gameMap.runAroundItemsInTheMap(itemsToRunAround, true);
> for(int i=0;i





More information about the Pogamut-list mailing list