VScript icon indicating copy to clipboard operation
VScript copied to clipboard

[L4D2] vscript class not registered on load

Open ProjectSky opened this issue 2 years ago • 1 comments

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

ProjectSky avatar Jul 20 '23 18:07 ProjectSky

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?

FortyTwoFortyTwo avatar Jul 22 '23 22:07 FortyTwoFortyTwo