Skip to content

Missing docs on GetEntityByMatcher #43

Description

@studentutu

Good evening,

I’m trying to understand how to use fennecs in a simple damage workflow.

For example, an Attacker (SimId = 10) can damage a Defender (SimId = 11). We have a DamageRequest(defenderId) component, and the system processes these requests by querying DamageRequest. However, to access the defender’s components directly (Health, MitigationStats, etc.), we need a world API such as FindEntityById(defenderId).

Could you point me to the equivalent of FindEntityById(SimId == 11) , or explain what the recommended alternative is?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions