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.