Quote:
Originally Posted by the bindlestiff
Denny, I made the Close-in Defense actions "active forever" and changed their Group numbers from "-1" to "1." I also made the Steal action "active forever". But the Close-in actions still do not get reactivated when the docs are returned.
|
Shit, i didn't even think of that. Never make the actual objective actions (the one's linked to the actual objective say the docs or a door that needs to be blown up) active forever or you're gonna have problems (i.e. bots trying to take docs already transmitted, bots trying to plant dyno even after the objective is destroyed, etc.) it just doesn't work and besides the actual objectives carry over into the next group number until they are destroyed/completed.
So say you got 2 doors, and they are both group 0 if you destroy door A before door B then door B will carry over to group 1 and still be an active objective. If an objective is carried over into a group like this, it cannot increase the goal tracker after being destroyed. So say after the above happened with door B, if you destroyed it shortly after it moved to group 1 it won't increase the goal tracker to group 2.
In any case, you would make Camp, Alt Roam, Roam/Patrol and other actions active forever in this scenario and deactivate/activate those in the script. Aim actions i'd leave active forever regardless because a bot won't use an Aim action if it isn't linked for a camp action so those usually don't need to be activated/deactivated in the script unless you want to have the bot look in a different area after a certain objective is completed.
For you're situation i'd just keep all the actual objective actions at group 0 and just have the rest active forever. It should work because i've done similar stuff before, if you need help hands on, feel free to send me you're nav and aiscript to my e-mail and i'll set it up for you.