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

sk_tripmine_use_owner_relations: Tripmines can use owner entity's relationships instead of default relationships #248

Merged

Conversation

1upD
Copy link

@1upD 1upD commented Jan 22, 2024

This PR will add a new ConVar sk_tripmine_use_owner_relations. When sk_tripmine_use_owner_relations is 1, tripmines will check the owner entity's relationship to the target. This will allow tripmines to respect ai_relationship entities and other non-default relationships.


Does this PR close any issues?

PR Checklist

  • My PR follows all guidelines in the CONTRIBUTING.md file
  • My PR targets a develop branch OR targets another branch with a specific goal in mind

…owner entity's relationships instead of default relationships
@1upD 1upD requested a review from Blixibon January 22, 2024 06:10
@1upD 1upD merged commit 40bf898 into entropy-zero:ez2/mapbase Mar 7, 2024
5 checks passed
@1upD 1upD deleted the ez2/feature/tripmine-relationships branch March 7, 2024 23:14
1upD pushed a commit that referenced this pull request Mar 7, 2024
Fixed warnings about conversions between soundlevel_t and float
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

Successfully merging this pull request may close these issues.

[GAME] SLAM tripmines placed by the player should have configurable NPC relationships
2 participants