",true)end,onbeforepanic=function(event)self:log("[FSM]STARTEVENT:panic!",onbeforecalm=function(event)self:log("[FSM]STARTEVENT:calm!",onbeforeclear=function(event)self:log("[FSM]STARTEVENT:clear!",onwarn=function(event)self:log("[FSM]FINISHEVENT:warn!")e