Hello,
On my AI bot Blueprint, I’ve randomized which weapon the bot uses when the enemy is in sight, like this:
It works, the bot spawns a different projectile randomly.
However, both projectiles have different Rates of Fire, so I need to split the “Shoot Enemy” function into two with different configurations - problem is, I don’t know how to make the Behavior Tree read the boolean variables RocketLauncherSelected and NailgunSelected you see above from the AI bot Blueprint, so based on the current boolean selected, it chooses a different iteraction on the Behavior Tree:
Any tips? Thanks.