Page 1 of 1

Tag applied even though node isn't executed

Posted: 05 Mar 2018, 16:21
by sollniss
https://i.imgur.com/CWFdSjz.mp4

AB is applied even though only A is executed.

Re: Tag applied even though node isn't executed

Posted: 06 Mar 2018, 09:49
by GFX47
My guess: all your bots use the same AI.
On the team tag tick:
- bot #1 tagged A
- bot #2 saw tag A and tagged B
- all the other bots saw tag A and B, only tagged A

Re: Tag applied even though node isn't executed

Posted: 06 Mar 2018, 14:31
by sollniss
Hm. Is this intended?

I've also noticed that when I restart the game, sometimes B gets tagged one tick after. That means the execution is not unique.

Re: Tag applied even though node isn't executed

Posted: 07 Mar 2018, 04:37
by mcompany
GFX47 wrote:My guess: all your bots use the same AI.
On the team tag tick:
- bot #1 tagged A
- bot #2 saw tag A and tagged B
- all the other bots saw tag A and B, only tagged A

Hmm... Idk, I've seen odd situations where even with bot tags I could tag everything on the first tick despite it failing after the first tag it tried to make, so I feel like that may not be the full explaintion

Re: Tag applied even though node isn't executed

Posted: 07 Mar 2018, 07:34
by GFX47
Remember that AIs execution are sequential, even if they happen at the same tick.
So if you have the same tagging procedure on several bots, you have to find which one gets executed first to debug it.

Re: Tag applied even though node isn't executed

Posted: 07 Mar 2018, 08:49
by mcompany
GFX47 wrote:Remember that AIs execution are sequential, even if they happen at the same tick.
So if you have the same tagging procedure on several bots, you have to find which one gets executed first to debug it.

In my case, I'm using bot tags, so the execution order doesn't matter. Anyways, here's a screenshot
Screenshot_20180224-151944.png
Screenshot_20180224-151944.png (1.01 MiB) Viewed 707 times