Skip to content

Feat: EntityArray (Couldn't Be Named EntityList)#6

Draft
OrsellGit wants to merge 21 commits intodevfrom
feat/EntityList
Draft

Feat: EntityArray (Couldn't Be Named EntityList)#6
OrsellGit wants to merge 21 commits intodevfrom
feat/EntityList

Conversation

@OrsellGit
Copy link
Collaborator

@OrsellGit OrsellGit commented Dec 30, 2025

Feature request for resolving issue #5. Could not be named EntityList because it already exists in the global scope for AngelScript, as it is used to get a handle to use CGlobalEntityList.

A draft still, because I still want to implement some things the array class also does, like sorting, but I haven't tested this in-game yet. Will later create a ConCommand to test the array with various entities on a map.

TODO:

  • Sorting functions (Name, Classname, Tag, etc)
    • Name
    • Classname
    • Tag
      - [ ] Get foreach statements working. Not gonna bother with this one, for loops should be fine.
  • Find functions.
    • CBaseEntityHandle
    • Name
    • Classname
    • Tag
    • Other TODO comments in file.
  • opEquals operator overload.
  • Maybe have a better way to do tags than what it currently has?

@OrsellGit OrsellGit added the Feature New Feature label Dec 30, 2025
@OrsellGit OrsellGit changed the title Feat: EntityArray (Couldn't Be Named EntityList) DRAFT Feat: EntityArray (Couldn't Be Named EntityList) Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: EntityList - An object that represents an array of references to entities.

1 participant