Wanted: getTokens() by Property Value

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
User avatar
bubblobill
Giant
Posts: 167
Joined: Sun Jan 24, 2010 3:07 pm

Wanted: getTokens() by Property Value

Post by bubblobill »

Just saying, getTokens() would be nicely enhanced by the inclusion of a condition for Property Value.
Example:

Code: Select all

[conditions=json.set("", 
    "npc", "1",
    "mapname", "MonsterStore",
    "property", json.set("", "CreatureName", "dog", "ChallengeRating", "2")
    )]

[badguys=getTokens("json", conditions)]
Bubblobill on the forum.
@Reverend on the MapTool Discord Server

Responsible for less atrocities than most... I do accept responsibility for these though: SmartDoors, Simple d20 Framework - barebones, Drop-in: All 3.5 SRD Monsters, Drop in: Simple Character Editor, Battletech Framework

Post Reply

Return to “MapTool”