04-28-2015, 08:09 AM
Another problem could be that the current API doesn't seem to allow creating the cEntityEffect class from Lua, so you can't really use the AddEntityEffect function. I guess we'll need to change this API somewhat. I think it would be better to leave out the cEntityEffect class from it, and just pass all the needed info to AddEntityEffect() directly as parameters.