Something went wrong. Try again.
An implementation of a "utility AI" system, using weights to tell AI which tasks to do instead of a traditional behavior tree.
Something went wrong. Try again.
1234567891011121314151617
#include "Decision.h"
float UDecision::CalculateScore(FDecisionContext& Context, float MinToBeat, float Bonus) const{ if (DecisionScoreEvaluator == NULL) { return 0.0f; } else { return DecisionScoreEvaluator->CalculateScore(Context, MinToBeat, Bonus); }}