is the MV engine updated/recent enough that it supports default argument values within the function definition (ala Ruby)? Javascipt, broadly, supports this as of ES2015.
Example:
Reason I ask is that a plugin I am working on to convert a script from my rpg maker xp project is throwing errors on function calls using default param vals as exampled above (unexpected token '=').
Example:
Code:
var Some_MV_Object_Alias.prototype.functionName = function(x,y,width = 200,height=300){
//Code here
};
Reason I ask is that a plugin I am working on to convert a script from my rpg maker xp project is throwing errors on function calls using default param vals as exampled above (unexpected token '=').