Wanted: getTokens() by Property Value

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

Moderators: Azhrei, dorpond, trevor

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
bubblobill
Cave Troll
Posts: 99
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)]

Post Reply

Return to “MapTool”