Expand | ||
---|---|---|
| ||
|
addCampaignAssetFile
...
Code Block | ||
---|---|---|
| ||
function addCampaignAssetFile(filepath, assettype) |
...
assettype (string)
The type of asset to be imported. Valid values are: “image”, “token”
getCampaignFolder
...
Code Block | ||
---|---|---|
| ||
function getCampaignFolder() |
...
(string)
Campaign folder path
getDataFolder
...
Code Block | ||
---|---|---|
| ||
function getDataFolder() |
...
(string)
FG data folder path
openCampaignFolder
...
Code Block | ||
---|---|---|
| ||
function openCampaignFolder() |
Requests that the operating system open the folder for the current campaign.
openDataFolder
...
Code Block | ||
---|---|---|
| ||
function openDataFolder() |
Requests that the operating system open the FG data folder. The data folder path can vary depending on channel specified in Settings.
openTextFile
...
Code Block | ||
---|---|---|
| ||
function openTextFile(filepath) |
...
(string)
Contents of the text file (or nil if does not exist)
saveTextFile
...
Code Block | ||
---|---|---|
| ||
function saveTextFile(filepath, text) |
...