Failed is now working. Scoring working on Task level now ...

This commit is contained in:
FlightControl
2016-11-29 10:40:01 +01:00
parent 354a9333c6
commit f9eb19e0f5
7 changed files with 100 additions and 77 deletions

View File

@@ -451,6 +451,12 @@ function STATEMACHINE_PROCESS:onenterAssigned( ProcessUnit )
self.Task:Assign()
end
function STATEMACHINE_PROCESS:onenterFailed( ProcessUnit )
self:E( "Failed" )
self.Task:Fail()
end
function STATEMACHINE_PROCESS:onenterSuccess( ProcessUnit )
self:E( "Success" )