GameSalad

Can you change the 'type' of a table column?

AdrenalineAdrenaline Posts: 493Member, BASIC

I have a column in a table currently set to hold integers, but I realized I could more easily achieve what I wanted if this column held text instead.

When I change the column type and make the necessary adjustments to my game logic, it seems to break the game. Nothing happens at all when I test—it's like the game is frozen or paused. However, if I make a brand new column and set it as text right away and then use THAT column instead, everything works fine.

I'd rather not be forced to keep the unnecessary integer column in my table. Is this a known bug? Is there anything I can do to remedy this?

Comments

  • RThurmanRThurman Posts: 2,760Member, Sous Chef, PRO

    I believe you can recast integers as text. And visa versa.

    So you can get integers off of the table and treat them as text.

    You can also use text attributes and stick them into an integer table cell. (But they have to look like an integer -- like "256"-- not "twofivesix".)

  • pHghostpHghost London, UKPosts: 1,994Member

    Make sure that you are using text expressions in your rules, though. If you use numerical expressions, it will not work

Sign In or Register to comment.