Concatenate text to create a Tables name and gamesalad accept it in an attribute?
StormyStudio
United KingdomMember Posts: 3,989
Morning world.
I'm making a handy little spreadsheet template/tool that I'm gonna donate to the community to allow you to quickly see what's going on in any tables during gameplay.
I'm giving it away in the hope that it will help both me and others get our heads round the multiplayer setup and monitor what's happening with all the new behaviors and tables.
It works fine, but I'm trying to improve it before releasing it..
So I'm trying to make it easier to customize and quickly switch between tables.. otherwise each spreadsheet for each table would require its own scene. (not the end of the world but untidy).
At present to call a 'tableCellValue' function, you have to manually go in and select a table from the game attributes and add it to the function. then give it a cell row and column number. This works fine. I've got a full spreadsheet which spawns all the cells and will display the pre-given tables values. By manually updating one actor before you preview the scene.
What I want is to be able to select different tables without moving onto a different scene or exit preview...as it gets a little involved and messy...
If I create a string that spells out the required name and have that inserted in the 'tableCellValue' function it does not work. As gamesalad wants me to physically go in and select the table name from game attributes.
To create the string I've got a
"game."..game.SelectedTableName
this creates
game.Table1
(or what ever the selected table is... I've sorted out selecting the table name with buttons at the top of the scene).
...
This text looks the same as selecting it manually.
Does anyone know of a way around this problem?
(I'm not using the Nightly build as yet)
Thanks for any ideas.
Jon
(I don't think its possible, as GameSalad needs to know what your pointing at and since you can have numerous game attributes called exactly the same thing referencing them by name alone won't work....but thought I'd ask...)
I'm making a handy little spreadsheet template/tool that I'm gonna donate to the community to allow you to quickly see what's going on in any tables during gameplay.
I'm giving it away in the hope that it will help both me and others get our heads round the multiplayer setup and monitor what's happening with all the new behaviors and tables.
It works fine, but I'm trying to improve it before releasing it..
So I'm trying to make it easier to customize and quickly switch between tables.. otherwise each spreadsheet for each table would require its own scene. (not the end of the world but untidy).
At present to call a 'tableCellValue' function, you have to manually go in and select a table from the game attributes and add it to the function. then give it a cell row and column number. This works fine. I've got a full spreadsheet which spawns all the cells and will display the pre-given tables values. By manually updating one actor before you preview the scene.
What I want is to be able to select different tables without moving onto a different scene or exit preview...as it gets a little involved and messy...
If I create a string that spells out the required name and have that inserted in the 'tableCellValue' function it does not work. As gamesalad wants me to physically go in and select the table name from game attributes.
To create the string I've got a
"game."..game.SelectedTableName
this creates
game.Table1
(or what ever the selected table is... I've sorted out selecting the table name with buttons at the top of the scene).
...
This text looks the same as selecting it manually.
Does anyone know of a way around this problem?
(I'm not using the Nightly build as yet)
Thanks for any ideas.
Jon
(I don't think its possible, as GameSalad needs to know what your pointing at and since you can have numerous game attributes called exactly the same thing referencing them by name alone won't work....but thought I'd ask...)
Comments
Using Copy table, so info can be copied to the table being displayed.. makes for a simple but effective solution... Will share file later once I've added a little more control.
....
SORTED...
:-)
http://forums.gamesalad.com/discussion/63466/stormys-gs-table-izer-free-template-tool-to-preview-and-scroll-through-tables-for-easier-testing#latest