Is there some way to assign an entity action to an entity via a string? Example: ent_create("grass.mdl",my.x,"grass"); If not, would it be possible to write a plugin in C++ that would be able to do so?
God DID give us a manual on how to change this world...
you could use the execute(""); function. This allows you to build strings containing commands and execute them. It's a bit tricky to use, and won't be available in Lite-C
Ok, it seems the execute function might do the job, but the function pointers might work better, if it works. The reason why I need it is quite complicated and I don't really feel like typing it all. In short I am working with arrays a lot and I need an array list of certain actions. So, the function pointers will probably work best.
God DID give us a manual on how to change this world...