Aller au contenu

Photo

String to Resource?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
SynysterLyfe

SynysterLyfe
  • Members
  • 32 messages
I have seen another topic on this already in the General Discussion Forum, but it's old and doesn't answer the question. Is there a way to convert from a string to a resource? I know you can hardcode a resource name into your script by typing R"(resourcename)", but I want to dynamically generate the resource name by concatenating various strings. Ideas?

#2
TimelordDC

TimelordDC
  • Members
  • 923 messages
Not possible currently.

If you do want to do the concatenation, one method would be to have an m2da that will give you the string -> resource mapping.