My table is giving only 0?
mscmultimedia
Member Posts: 5
Greetings, I 'm brand new to gamesalad and come from a macromedia director coding background (lingo)
i seem to be having trouble with pulling data from my table,
regardless of what i've typed in the cell it only says 0 when i try and pull the figure. I set up a display text actor so I can see the variable and all i see is 0, even when i set up a "global" attribute for it.
the coding is tableCellValue(game.tablename, 1, 9) ?
i seem to be having trouble with pulling data from my table,
regardless of what i've typed in the cell it only says 0 when i try and pull the figure. I set up a display text actor so I can see the variable and all i see is 0, even when i set up a "global" attribute for it.
the coding is tableCellValue(game.tablename, 1, 9) ?
Best Answer
-
gyroscope I am here.Posts: 6,598
Hi @mscmultimedia and welcome to GSC and the Forums. :-)
I used to use Lingo too, from when it was Macromind Director, for interest.
By what you've written, it doesn't seem like you're doing anything wrong… I've done a little test for you to have a look at, to check what could be different with your programming… hope it helps you.""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Answers
Then use the dropdown to replace game.tablename with the table you're using.
See if that helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Hell, I still do it sometimes!
QS =
D
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
the only real difference i noticed is that your table call (game.Table 1) was in a blue pillbox, is that a mac/win difference (I'm in win) or could that be why it's not really working?
MSCM