ModTweaker

ModTweaker

88M Downloads

[Request] A way to get aspects

Pival81 opened this issue ยท 1 comments

commented

I need to iterate through every entity in tha game and check if it has an aspect, if it does then I skip it, but if it does I want to assign a set of aspects, which should be different based on which mod the entity's from.

But I can't find a way to get an entity's aspect, could you add that, please?

commented

Aspects aren't registered at the time scripts load, so no way to do this.