I have a script that looks something like this:
export var PlrNum: String = "1"
var SPRITE_TEXTURE = preload("res://Players/DinoSprites - "+PlrNum+".png")
func _ready():
$Sprite.set_texture(SPRITE_TEXTURE)
It's supposed to make it easier to add multipul player for multiplayer so it will change texture automaticly but it gives me error message: "expected string constant as 'preload' argument" in the editor.