playMaker

Author Topic: Get Enum FSM  (Read 223 times)

DanielThomas

  • Beta Group
  • Full Member
  • *
  • Posts: 125
    • View Profile
Get Enum FSM
« on: June 06, 2019, 09:08:26 AM »
Very minor, when using 'Get Enum FSM', and choosing variable name with the [...]-button it shows bools instead of Enums.

2018.3.12f1, Playmaker 1.9.0.p16

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Re: Get Enum FSM
« Reply #1 on: June 12, 2019, 04:27:17 AM »
Hi,

 I can't find this action, where did you get it?

Bye,

 Jean

DanielThomas

  • Beta Group
  • Full Member
  • *
  • Posts: 125
    • View Profile
Re: Get Enum FSM
« Reply #2 on: June 12, 2019, 02:35:16 PM »
Sorry, should be 'Get FSM Enum'.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4441
    • View Profile
    • jinxtergames
Re: Get Enum FSM
« Reply #3 on: June 13, 2019, 05:27:58 AM »
Hi.

Found it, its one of the official actions.

On line 21 uihint is set to FsmBool
Code: [Select]
        [RequiredField]
[UIHint(UIHint.FsmBool)]
public FsmString variableName;

Should be :
Code: [Select]
        [RequiredField]
[UIHint(UIHint.FsmEnum)]
public FsmString variableName;

You can change it if you wish, it will be resolved on a next update
« Last Edit: June 13, 2019, 05:31:21 AM by djaydino »
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions