lib.execute
Definition:
- lib.execute (string mod_id, string mod_version, string function_name, ...) :: ...
Description:
- Calls a singular function from a mod's class and returns its results
Arguments:
- string mod_id: name of the mod being called
- string mod_version: version of the mod being called
- string function_name: name of the function to be called
- ... : arguments to be passed to the function being called
Returns:
- ... : any values returned by the called function
Other notes:
- Created in LME 2.x.x (Neoloader indev)
- If the value of the class is not a function, this will return that value instead