Dexter Posted October 12, 2015 Posted October 12, 2015 I'm working on something using lua right now and it' starting to get big to the point I want to better manage the code. I've considered two things: trying to use flowgraph for all gameplay code or just switching to C++ which I would prefer. I searched a bit and only found the suggestion of using hooks. I'd like placing something in the editor, and then pointing a C++ class at it for behavior but that doesn't seem to exist. Only idea I have so far: use a pivot and a key value pair with something like ("ClassName", "MyClass") and searching entities on load and gluing things up there, but that would probably take RTTI . What I'm basically after is avoiding creating objects procedurally. Am I missing something obvious? Anyone else handle this? If not, has anyone had massive flowgraphs handling gamplay instead of massive player luas? 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.