02-19-2014, 12:32 PM
Okay. I though ":" was the equivalent to C++'s "->". I need to reread Lua's reference manual.
Also, I was copying from the API documentation on the ItemCategory page, so that needs to be fixed.
Finally, there was another error, I was lacking the "SourceData" parameter which was being left off in the example. Anyways, what's SourceData? The API dump just says "The SourceData parameter is specific to each source type, usually it provides more info about the source.." What does that mean? Why would "DoExplosionAt()" require this?
Also, I was copying from the API documentation on the ItemCategory page, so that needs to be fixed.
Finally, there was another error, I was lacking the "SourceData" parameter which was being left off in the example. Anyways, what's SourceData? The API dump just says "The SourceData parameter is specific to each source type, usually it provides more info about the source.." What does that mean? Why would "DoExplosionAt()" require this?