My Status Attributes Reordered?

Kieron_59
I'm typing in status attributes through the game-player tab, but I have this problem with any status attribute field.
I type them in the order I want them, but when I go to another object or test play, they're randomly rearranged.

Is there anything I could do to stop this? It might be something to do with the dictionary, I dunno.

jaynabonne
If you could post some sample code, that would be helpful. Then we can suggest changes from there.

I had the same problem before. I was constantly changing the status variables, adding and removing then on each turn. And the variables kept changing order. It is a function of the dictionary. The solution I found was to remove the items in the opposite order from what I did when adding. But I have no idea if that applies to your case without being able to see some code.

Kieron_59
When I delete an attribute, I delete them all and redo it. I have a screenshot of all the steps I took after clearing the Status Attributes.

http://s1317.photobucket.com/user/Kiero ... sort=3&o=0

I'm not a programmer, so I don't even know if this behavior can be changed.
Thank you for taking the time to help me with this.

jaynabonne
I tried what you showed, and it works for me - no reorder. So I suspect there's something in your file that is not right. Any chance of posting it (or a stripped down version)?

Kieron_59
Here you go:



I've had this problem in several other projects since Version 5.2, but I can't seem to recreate it either. Hmm.

jaynabonne
Try this:

1) Go into your game and delete the Weight status entry on the Game / Player tab.
2) Save the game
3) CLOSE THE GAME
4) Re-open the game
5) Add the weight status entry again

Option 2:

Go into Code View and manually move the Weight dictionary entry.

What seems to happen is that if you don't exit the game, there is some sort of memory of where the Weight entry was, and it puts it back in the same place.

Kieron_59
Thank you. It all working now.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums