Basically I show you this example using variable. I does work if I done use variables but it doesn't in this case:
stage_level = str("res://world/" + str(mod_name) + ".tscn" get_tree().change_scene(stage_level)
but it doesn't load, why?
I'm so sorry... problem solved using a variable combination in the name. A bit tricky but it does work! :) Thank you
Maybe share the solution for anybody else searching the web for the same thing in the future?
@Megalomaniak said: Maybe share the solution for anybody else searching the web for the same thing in the future?
the code above is correct, it was just a stupid mistake I've done in combining two variables :) sorry
So just the missing bracket at the end of the first line?
@Megalomaniak said: So just the missing bracket at the end of the first line?
no just the var 'mod_name' was a concatenation of other 2 vars, one of those was wrong. It was unnecessary so I deleted it and let only mod_name var.
too much coding in these days ... :)