Reply To: Not retaining value on ActionTask

NodeCanvas Forums Support Not retaining value on ActionTask Reply To: Not retaining value on ActionTask

#14189
Gavalakis
Keymaster

Hello again and sorry for the late reply.

 

I’ve imported your scripts and tried recreating what you show me in the screenshot considering I understood how to set everything up based on the code (but maybe I am wrong).

I honestly can’t see any problems/bugs. The “Check Any Slot Dead” is working correctly and is setting a “Dead Slot” blackboard variable to the index of the first null object in the list. Then that “Dead Slot” blackboard variable remains correct for any further actions down the tree until it changes. Hmm. Are you certain you’ve hooked up everything correctly and that your tasks do what you want them to do? 🙂

Do you actually use a blackboard variable of type Integer for setting the “Dead Slot” value, or is it some other type by any chance?

Thank you!

Join us on Discord: https://discord.gg/97q2Rjh