iWitch Posted March 1, 2014 Share Posted March 1, 2014 how to check the availability of a component? i am not talking about vanilla components which can be checked directly by file presence. Question is about custom components from mods. for prefabs there PrefabExists function, but entityscript.lua doesnt have same function for componentsComponents variable is local so any ideas? for example if i make new class based on EntityScript, whether it will have access to local variables in entityscript.lua? i guess not. so maybe any LUA magic with getmetatable or such ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.