Treat separate subAI instances as separate subtress.

ElvenMonk
Neural Network
Neural Network
Posts: 238

Treat separate subAI instances as separate subtress.

Post#1 » 01 May 2018, 08:52

I'm implementing logic to count number of conditions met. I have simple incrementing subAI like this:
Image
I've made my main script as follows:
Image
and expected it to work as if separate counting subtrees were instantiated inplace. However, subAI nodes were evaluated only once, as if my script was like below:
Image

To handle this I had to create lots of spare copies of my subAI and set each individual occurance of subAI node to separate script name.

Would it be possible to treat individual subAI nodes as separate subtrees, without significant impact on existing deep search algorithm?

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Treat separate subAI instances as separate subtress.

Post#2 » 01 May 2018, 09:54


User avatar
DjSapsan
Script
Script
Posts: 48

Re: Treat separate subAI instances as separate subtress.

Post#3 » 24 Sep 2018, 07:54

Wow its a bug????? What? I thought its was intended behavior and didnt tell anything. Its one of the first "feature" that i noticed when tried to make functions. I will happy if it will be fixed :)

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Treat separate subAI instances as separate subtress.

Post#4 » 27 Sep 2018, 17:23

I'm working on a fix for 2.2.

User avatar
Ritter Runkel
Neural Network
Neural Network
Posts: 498

Re: Treat separate subAI instances as separate subtress.

Post#5 » 29 Sep 2018, 00:39

I though this was intentionally to prevent from circles. It's a DF-Search to prevent doubled-tripled-... execution.

ElvenMonk
Neural Network
Neural Network
Posts: 238

Re: Treat separate subAI instances as separate subtress.

Post#6 » 29 Sep 2018, 03:19

Circles are on the top of check list for this feature.

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Treat separate subAI instances as separate subtress.

Post#7 » 29 Sep 2018, 11:00

Ritter Runkel wrote:I though this was intentionally to prevent from circles. It's a DF-Search to prevent doubled-tripled-... execution.


It was but then instant actions (tagging) came out T_T

Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest