...
(table)
Table of strings, which correspond to the frame resources defined via the framedef tag.
getAssets
Code Block | ||
---|---|---|
| ||
function getAssets() |
Returns a table of all the valid graphic assets (portraits, tokens, images) in the current session.
Return values
(table)
Table of strings, which correspond to the asset resources currently available.
getAssetSize
Code Block | ||
---|---|---|
| ||
function getAssetSize(assetkey) |
Returns the size of the specified graphic asset (or 0,0 if not a valid asset key).
Parameters
assetkey (string)
The name/key of the asset that you want to determine the size of
Return values
(number)
The width of the asset (or 0 if not a valid asset)
(number)
The height of the asset (or 0 if not a valid asset)
getIcons
Code Block | ||
---|---|---|
| ||
function getIcons() |
...
(table)
Table of strings, which correspond to the icon resources defined via the icon tag.
getIconSize
Code Block | ||
---|---|---|
| ||
function getIconSize(iconname) |
Returns the size of the specified icon (or 0,0 if not a valid asset key).
Parameters
iconname (string)
The name of the icon that you want to determine the size of
Return values
(number)
The width of the icon (or 0 if not a valid icon)
(number)
The height of the icon (or 0 if not a valid icon)
getRulesetInfo
Code Block |
---|
function getRulesetInfo(lookupname) |
...