[Pogamut-list] Setting health level.
Piotr.Murach
pogamut-forum at diana.ms.mff.cuni.cz
Tue Aug 24 12:52:50 CEST 2010
Re: Setting health level.
Author: Piotr.Murach
Hi Jimmy, Michal!
Ok, I have definitely changed the GameBots2004.BotConnection bAllowCheats=True.
Second, I have added (of course not in a single go) this.getAct().act(new ChangeAttribute().setHealth(150)); in every method that would make sense, e.g, botSpawned, logicInitialize, logic, etc.. The bot still has the same level of health. I've also tried alternatives such as this.getAct().act(new ChangeAttribute(info.getId(), 150, 50));
Cheers,
P.
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=348&post_reply=1#form>
More information about the Pogamut-list
mailing list