Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Do not target actors marked as NoTarget #28

Closed
gregpola opened this issue May 26, 2023 · 2 comments
Closed

Request: Do not target actors marked as NoTarget #28

gregpola opened this issue May 26, 2023 · 2 comments

Comments

@gregpola
Copy link

I am using your target logic for templates, but find that it doesn't pay attention to the NoTarget value for "system.details.type.custom". Please add the logic to not target these actors. Thanks!

@caewok
Copy link
Owner

caewok commented Jun 1, 2023

Good idea. Implemented in v0.5.2. Thanks!

@caewok caewok closed this as completed Jun 1, 2023
@thatlonelybugbear
Copy link

thatlonelybugbear commented Jun 1, 2023

Just to chime in, that key is true for NPC actors, but for PCs you would probably need to use something like system.details.race?.toLocaleLowerCase().includes("notarget")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants