From RPTools WikiJump to navigationJump to search
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.3b48
Gets a list containing the ids of all of the tokens on the current map that have been exposed, (i.e. not covered by fog of war). The type of the value returned depends on the delimiter parameter.
If delim is specified then it is used as the delimiter that separates the token ids.
The following example will print out the ids of all the tokens on the current map not covered by fog of war.
[h: ids = getExposedTokens()] [r: foreach(id, ids "<br>"): id]
- 1.3b49 - Added "json" delimiter option.