Author Topic: IntAsEnum attribute  (Read 1297 times)


  • Playmaker Newbie
  • *
  • Posts: 9
    • View Profile
IntAsEnum attribute
« on: June 06, 2013, 12:09:05 AM »
Since there is no FsmEnum, could we instead have an attribute to show an int as an enum e.g.

public FsmInt myIntValue;

This would show a dropdown with all the enum values, while still being able make it a variable.



  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: IntAsEnum attribute
« Reply #1 on: June 06, 2013, 02:24:09 AM »

 it's been requested already :) the lack of enum support is definitly an issue in may scenarios.

the problem here is that enum do not always translate to ints, some are bytes, some are custom, etc etc, so I think it's difficult to find the right way to do it.