ARTY v0.7

Added "NewTarget" event.
Improved task function for waypoints
Removed TargetQueue scheduler.
This commit is contained in:
funkyfranky
2018-05-03 23:42:03 +02:00
parent 531c1d7e90
commit 4fccfa38d4
2 changed files with 166 additions and 63 deletions

View File

@@ -682,15 +682,15 @@ do -- FSM
end
if execute then
self:_call_handler("onafter", EventName, Params, EventName )
self:_call_handler("OnAfter", EventName, Params, EventName )
-- only execute the call if the From state is not equal to the To state! Otherwise this function should never execute!
--if from ~= to then
self:_call_handler("onenter", To, Params, EventName )
self:_call_handler("OnEnter", To, Params, EventName )
--end
self:_call_handler("onafter", EventName, Params, EventName )
self:_call_handler("OnAfter", EventName, Params, EventName )
self:_call_handler("onstate", "change", Params, EventName )
end
else