playMaker

Author Topic: [SOLVED] Comment actions  (Read 1314 times)

thierry_st_malo

  • Junior Playmaker
  • **
  • Posts: 58
[SOLVED] Comment actions
« on: October 08, 2017, 05:36:05 AM »
Hi, all!

I would like to use comment actions to assist in debugging, but apparently they don't create any output, either in the log or the console windows.

What am I missing?

thanks
« Last Edit: October 08, 2017, 10:10:28 AM by thierry_st_malo »

Deek

  • Full Member
  • ***
  • Posts: 133
Re: Comment actions
« Reply #1 on: October 08, 2017, 07:50:00 AM »
The comment action is just there for you to give a description or some info of personal interest inside the state panel, for example if you want to describe what the previous action does or what the current state is for.

If you want to debug variables at runtime you can use any "Debug ..."-Action that fits your variable type, or use "Debug Fsm Variable" to output any given variable in the FSM-Log and optionally also in the Unity Log ("Debug Log" acts like the comment action and outputs it's content as a log).
If you already do use one of those actions and they don't seem to work, then the problem might lie elsewhere.
It would help if you could describe your situation in more detail, say which action you use and what values you insert, or best take a screenshot and show that.

PlayMaker also offers a "Debug" checkbox under the state panel which I find even more helpful than throwing the variables as a log, because you can see directly what values every variable has, even outside Play-Mode (see attachment).

thierry_st_malo

  • Junior Playmaker
  • **
  • Posts: 58
Re: Comment actions
« Reply #2 on: October 08, 2017, 09:20:28 AM »
Debug log is just what I was looking for !
Thanks.