-
Notifications
You must be signed in to change notification settings - Fork 2
FFU Get Attribute
Retrieves the value of a specific attribute or property path from an entity and saves it into a tile variable.
Select the entity to read the attribute from.
- Supports standard entity selections (e.g., Tokens, Tokens within Tile, Player Tokens, Tile, Current Collection, Tagger).
- If multiple entities match, the first entity found is used.
Specifies the type of collection to inspect when Select Entity is set to Current Collection.
- Options include: Actors, Drawings, Items, Journal Entries, Lights, Macros, Scene, Sounds, Tiles, Tokens (default), Users, and Walls.
The property path on the entity to retrieve (e.g., elevation, hidden, system.attributes.hp.value, name).
- Dynamic Autocomplete: Provides an interactive autocomplete dropdown showing valid schema properties and tracked system attributes when targeting Tokens or Tiles.
The name of the variable to store the retrieved attribute value under.
- Defaults to
SavedAttributeif left blank. - Accepts dynamic MATT replacement variables.
Select the tile where the variable should be stored.
- Select from available entity options (e.g., This Tile, Current Collection, Tagger).
- Defaults to This Tile.
- If the retrieved attribute does not exist or evaluates to
null/undefined, any existing variable with the specified name will be unset on the target tile. - When targeting a token, the action automatically inspects
system.<attribute>and the underlying actor if the property does not exist directly on the Token Document. - If the retrieved property is an object containing a
.valueproperty (such as D&D 5e ability scores or resource pools), the primitive.valueis automatically extracted. - Makes the variable immediately accessible to downstream actions in MATT's execution scope (
{{variables.<VariableName>}}). - Requires FoundryFan Utilities to be installed and active.
- Any issues with this action should be logged with FoundryFan Utilities.
- Foundry 13.360
- MATT 13.06
- FoundryFan Utilities 1.5.0
If you have module questions or concerns, please feel free to contact me on Discord. ironmonk88
This wiki is being maintained by crow_guard. If you have questions, want to see something added to the wiki, find a broken link or out-dated information, just message me and I'll fix it.
Or come over to Ironmonk's Discord channel. https://discord.gg/MStYmeRfn3
If you like Monk's mods and feel like being generous, stop by Monk's Patreon.
Not necessary but definitely appreciated.
If you find the wiki helpful and feel like being generous, stop by Crow's Ko-Fi.
Also not necessary but greatly appreciated.
Many of the assets shown in the tutorial images & GIFs are from https://www.forgotten-adventures.net/.
- Always HP
- Breaktime
- Enhanced Terrain Layer
- Monk's Active Tile Triggers
- Monk's Bloodsplats
- Monk's Chat Timer
- Monk's Combat Details
- Monk's Combat Marker
- Monk's Common Display
- Monk's Enhanced Journal
- Monk's Hotbar Expansion
- Monk's Little Details
- Monk's PF2E Encounter Aftermath
- Monk's Player Settings
- Monk's Scene Navigation
- Monk's Shops
- Monk's Sound Enhancements
- Monk's Tokenbar
- Monk's Wall Enhancement
- Multiple Document Selection