Hey guys,
I have an example plugin with a function, and a call script, but i just cant seem to get this to work:
Scriptcall:
Plugin content:
Is it possible to use that single variable to replace both(or more) parameters in a function? And if so, what would i need to put inside it?
I have an example plugin with a function, and a call script, but i just cant seem to get this to work:
Scriptcall:
Code:
◆Control Variables:#0018 = "James " + "Sunday"
◆Script:console.log($gameVariables.value(18))
: :console.log("James", "Sunday")
◆Script:hey($gameVariables.value(18));
Plugin content:
Code:
hey = function(name, day) {
return console.log("hey" + " " + name + " " + "its" + " " + day);
};
Is it possible to use that single variable to replace both(or more) parameters in a function? And if so, what would i need to put inside it?