GetAllSIghtTypes?
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
GetAllSIghtTypes?
Is there no macro to return a list of all the avilable sight types?
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: GetAllSIghtTypes?
You can use Wiki: getInfo()xavram wrote:Is there no macro to return a list of all the avilable sight types?
Something like:
Code: Select all
[h: campaignInfo = getInfo("campaign")]
[h: sightInfo = json.get(campaignInfo, "sight")]
[sightInfo]
Code: Select all
[h: campaignInfo = getInfo("campaign")]
[h: sightInfo = json.get(campaignInfo, "sight")]
[h: sightList = json.fields(sightInfo, "json")]
[sightList]
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: GetAllSIghtTypes?
Awesome, was not aware of this function...thanks!