I can't for a long time to solve this problem, please help!
the task such: to write the condition in function Timer() under which the bot will not perform a specific function. The bot has in its inventory only 2 weapons (SniperRifle and ImpactHammer) The bot should not perform the function, if he holds the ImpactHammer in his hands.
Inside Iterator continue means: skip this and move to the next
Translated it sounds like: If Bot weapon is not a SniperRifle check next Bot - nothing in common with ImpactHammer.
I think I got it.
He has that ShootTarget thing which... I don't know what version will use... However, a Bot should not aim enemies from far away locations with ImpactHammer - he has to Impactjump-ing to target not aiming enemies. Fix me if I'm wrong .
sektor2111 wrote:I think I got it.
He has that ShootTarget thing which... I don't know what version will use... However, a Bot should not aim enemies from far away locations with ImpactHammer - he has to Impactjump-ing to target not aiming enemies. Fix me if I'm wrong .
Yes you are right. The bot should not aim with ImpactHammer at the enemy at long range. And he does not. However, a Bot in rare cases presses the primary fire at long range from the player. The BOT should do it next to the player.
I do not understand why he does it...
It is not critical and playable. But it looks weird. I I've got to say that I can not without the help of a professional to go very deep into the code.