Tables and images

Developer discussion regarding MapTool 1.4

Moderators: dorpond, trevor, Azhrei

Forum rules
Posting now open to all registered forum users.
User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: Tables and images

Post by JamzTheMan »

Ditto wrote:
JamzTheMan wrote:FYI: since i have the code open, looks like the current list of functions are:
table functions

Code: Select all

"tbl", "table", "tblImage", "tableImage", "getTableNames", "getTableRoll", "setTableRoll", "clearTable", "addTableEntry", "deleteTableEntry", "createTable", "deleteTable", "getTableVisible", "setTableVisible", "getTableAccess", "setTableAccess", "getTableImage", "setTableImage", "copyTable", "setTableEntry")
(sorry, list is "as is" from code, not alphabetic)

FWIW, Looks like we have the following in the wiki:
wiki list

Code: Select all

addTableEntry
clearTable
createTable
deleteTable
deleteTableEntry
getTableAccess
getTableNames
getTableRoll
getTableVisible
setTableAccess
setTableEntry
setTableRoll
setTableVisible
table
tableImage
tbl
tblImage

Cool, so I'm not going crazy :) sweet.

however, seems that setTableImage doesn't touch images on the individual rows, it's just the 1 larger image for the full table ... :(
That does seem to be consistent, as the getTableImage does the same thing (all the xTable functions deal with the table). So setTableEntry should be the one as it modifies the table row as it were. But it only changes the result... Executive decision, changed setTableEntry so optional 4th parameter can be an assetID. :-)
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork

Ditto
Giant
Posts: 179
Joined: Thu Jul 28, 2011 1:06 pm

Re: Tables and images

Post by Ditto »

JamzTheMan wrote: That does seem to be consistent, as the getTableImage does the same thing (all the xTable functions deal with the table). So setTableEntry should be the one as it modifies the table row as it were. But it only changes the result... Executive decision, changed setTableEntry so optional 4th parameter can be an assetID. :-)
That would be .. awesome! :)
(and possibly the simplest solution)

Post Reply

Return to “MapTool 1.4”