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.
1234567891011121314
#include "DecisionBase.h"
FMadeDecision UDecisionBase::RunDecision_Implementation(const FDecisionContext& Decision) const{ FMadeDecision decision; decision.Decision = this; // Make the decision in UTC to avoid daylight savings time decision.DecisionTime = FDateTime::UtcNow(); decision.DecisionStatus = EBTNodeResult::Succeeded; return decision;}