playMaker

Author Topic: [Resolved] How to retreive Fsm Errors ?  (Read 2018 times)

xsmarty

  • Playmaker Newbie
  • *
  • Posts: 14
[Resolved] How to retreive Fsm Errors ?
« on: May 31, 2013, 11:25:25 AM »
Howdy,

I want to retrive the errors for a selected Fsm, just as the "Error Check" window does.

Problem is that I have absolutely no clue where does that list live.

Tryed:
List<ActionReport> errorL = ActionReport.ActionReportList;
List<FsmLogEntry> errorList = FsmLog.GetLog(this.Fsm).Entries;

Any clues ?
http://snag.gy/dqBNS.jpg -> 'Error Check' window


« Last Edit: June 03, 2013, 11:52:04 AM by xsmarty »

xsmarty

  • Playmaker Newbie
  • *
  • Posts: 14
Re: How to retreive Fsm Errors ?
« Reply #1 on: June 03, 2013, 06:04:32 AM »
It looks like the private class "FsmErrorChecker" is in charge of that.
(still don't get why VS does not show me private classes , while MonoDev does).

So the question is :
Can you guys make it public :D ?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: How to retreive Fsm Errors ?
« Reply #2 on: June 03, 2013, 10:41:42 AM »
Sure. But I'd like to do it in a beta release first to test it. I'll send you an invite to the beta...

BTW, that timeline editor is looking sweet!! :)

xsmarty

  • Playmaker Newbie
  • *
  • Posts: 14
[Resolved]Re: How to retreive Fsm Errors ?
« Reply #3 on: June 03, 2013, 11:51:33 AM »
Thanks for the Beta invite.
I'll post my questions there :)