playMaker

Author Topic: Default Values for FsmFloat  (Read 3106 times)

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Default Values for FsmFloat
« on: August 22, 2011, 01:21:55 PM »
I have an Action i wrote for doing Float compares but i want the FsmFloat values in it to default to Variable None so that i can test to see if there is something set in them instead of '0'

Because some times i want to use 0 as a value..

Q

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Default Values for FsmFloat
« Reply #1 on: August 22, 2011, 02:28:31 PM »
How do i test to see if a FsmFloat is set to None in the editor?

Q

qholmes

  • 1.2 Beta
  • Hero Member
  • *
  • Posts: 509
Re: Default Values for FsmFloat
« Reply #2 on: August 22, 2011, 02:37:02 PM »
Ok sorry you use .IsNone

I forgot to read everything first.

If i use [UIHint(UIHint.Variable)] on my FsmFloat then i loose the ability for it to be set to a number instead of a variable...

Q