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

[L4D2] vscript class not registered on load #7

Open
ProjectSky opened this issue Jul 20, 2023 · 1 comment
Open

[L4D2] vscript class not registered on load #7

ProjectSky opened this issue Jul 20, 2023 · 1 comment

Comments

@ProjectSky
Copy link

Indeed that L4D2 load classes differently to CSGO and TF2, as it only registers it when actually needed. So plugin will have a harder time trying to get all classes, needing to rely on existing entities in map to collect it. I'm not sure if there is a way to automatically collect all of it, would love to hear it.

This causes some issues, need to find some solution

@FortyTwoFortyTwo
Copy link
Owner

I've been having a tough time trying to find a solution to get all classes, but there is a reasonable way to get one by class name. Would this be helpful to you that VScript_GetClass can get one, but VScript_GetAllClasses still not able to get all of it?

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

2 participants