playMaker

Author Topic: Display different element name  (Read 1494 times)

mathius777

  • Playmaker Newbie
  • *
  • Posts: 38
Display different element name
« on: February 16, 2014, 07:20:46 AM »
Hello. I created a custom action, and I have an array of elements(FSMString[]). When I use the action, it creates X elements, and next to each element it says "Element X". Element 0, Element 1, etc. Is there a way to change the word "Element" to something else? I would like it to say "Choice 0, Choice 1" as it makes more sense with my custom action. Thanks!

mathius777

  • Playmaker Newbie
  • *
  • Posts: 38
Re: Display different element name
« Reply #1 on: February 16, 2014, 07:25:42 AM »
Also, if there is a way to auto increment a variable as the elements are generated, that would be great too. I.e

List=2(This will generate 2 sets of elements)

Element 0:
SomeProperty=0
SomeText=""
Element 1:
SomeProperty=1
SomeText=""

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Display different element name
« Reply #2 on: February 17, 2014, 10:25:01 AM »
Hi,

 yes, absolutly, you need to dive into custom action editors and write your own interface for it basically.

 pm me, I will share with you a work in progress with really advanced use ot custom action editors with a completly redefined interface for arrays in actions.

bye,

 Jean