Scienitive
Member
Hello, I am trying to put some code into an argument of a script how can I do it?
This is how I want to call the script:
change_script(1, 2, global.military_point = global.military_point + 3, global.economic_point = global.economic_point + 3);
This is inside of the script:
var unique_id = argument[0];
var choice_number = argument[1];
var script0 = argument[2];
var script1 = argument[3];
...
This way is not working.
Is there any way to do it?
This is how I want to call the script:
change_script(1, 2, global.military_point = global.military_point + 3, global.economic_point = global.economic_point + 3);
This is inside of the script:
var unique_id = argument[0];
var choice_number = argument[1];
var script0 = argument[2];
var script1 = argument[3];
...
This way is not working.
Is there any way to do it?