Skip to content

[BUG] Referencing actor property with string value not working in mappings. #217

@KirbyCrono

Description

@KirbyCrono

Hi!
I'm trying to have the fancy nameplate display only for certain tokens that have a property that happens to be in string value (system is Cortex Prime, but it does the same in D&D and SWADE...). In this system, the property I want to check in the expression field of the TVA mappings is actor.system.actorType.name="NPC"... but nothing is displayed.

It happens that only properties which have a numeric value are properly checked...
Am I doing something wrong to reference those values?

P.S.: I'm setting things up as this example in another issue:

You can reference any token attribute within the TVA mappings

Here's an example of an overlay being applied if the token's actor has a name "Wolf". image

Here's how you would reference level in pf2e: actor.system.details.level.value=1

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementedFix/Feature has been coded and will be included in the next release.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions