playMaker

Author Topic: Toggle visibility of individual FSM state labels?  (Read 5728 times)

wyliam

  • Playmaker Newbie
  • *
  • Posts: 22
Toggle visibility of individual FSM state labels?
« on: May 15, 2011, 04:15:01 PM »
Right now we can only toggle all labels.
It would be super helpful to toggle individual FSM labels back on. I often times have 3-4 FSMs at a single time on a unit. After 10-15 of those running around the screen, the labels become less than useful, as I only care about certain unit's labels or certain FSMs.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Toggle visibility of individual FSM state labels?
« Reply #1 on: May 16, 2011, 01:39:20 AM »
Hi,

 I agree totally. These labels are actually very very useful, so if we could have more control and if they could be more readable when a lot of them are about, that would be very handy.

 Bye,

 Jean

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Toggle visibility of individual FSM state labels?
« Reply #2 on: May 24, 2011, 02:57:28 PM »
You should be able to use the DrawStateLabel action to override the global state label setting in the tool and turn state labels on/off per FSM.

You could also use a bool variable, and expose it in the inspector to turn on/off at runtime.

However, I do agree that exposing this directly in the Playmaker editor somewhere would be more convenient...