playMaker

Author Topic: Variable Numbering & Order  (Read 1935 times)

Farwest

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Variable Numbering & Order
« on: August 29, 2018, 11:32:37 AM »
In an FSM, when we add variables with numbering like this, here is the order of variables: 

enemy1,
enemy10,
enemy11,
...
enemy2,
enemy20,
...
enemy3,
enemy4,
enemy5,
enemy6,
enemy7,
enemy8,
enemy9,

This is inconvenient and messy, for a user who needs to deal with many variables for inventory/quest/dialogue managements. When we assign certain items or stuff to a variable, we need to double check with sleepy/tired eyes, if we add that item to enemy 2 or enemy10, this is tiring.

If these kind of variables naturally get an order by number-size (1 on top, 999... at bottom), I will appreciate very much.
Thanks.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Variable Numbering & Order
« Reply #1 on: August 29, 2018, 02:00:18 PM »
Haha, yeah this would be convenient. It doesn't happen to me too often, but like Farwest, there's probably people who are having a lot of trouble with this.
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Variable Numbering & Order
« Reply #2 on: September 18, 2018, 09:45:30 AM »
Hi,

 typically, you should instead use an array, but the principle of ordering variable still is something we are missing indeed. Ground work is currently undergoing to provide such features, so expect something soon on this.

 Bye,

 Jean

Farwest

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Re: Variable Numbering & Order
« Reply #3 on: September 18, 2018, 11:05:26 AM »
Great news, thanks a lot! This will truly improve the efficiency who needs to work with tons of variables, a variable will be easy to find and dealt with.