Thank you for the quick reply, I looked up RandomPlus and it seem to have the same "issue" that I. "RandomPlus.RandPlus" requires three parameters mandatory.
It isn't a big issue the min and max value can be mandatory. But I am still curious if it possible to have a third party plugin with optional parameters like the random in System? Or is that only possible since it doesn't have an "edittime.js" (I can't find one)
SysExps.prototype.random = function (ret, a, b)
{
// b not provided: random number from 0 to a
if (b === undefined)
{
ret.set_float(Math.random() * a);
}
else
{
// Return random number between a and b
ret.set_float(Math.random() * (b - a) + a);
}
};