Hi to all,
I’m trying to contain a string into another set of string where the “container” is fixed, but the string inside is variable.
Examples of strings:
amb_cold.ogg
amb_lava.ogg
Example of container (one for all):
FMODSoundAdd("sounds\\chars\\amb\\[string]",0,0);
Desired replace results:
FMODSoundAdd("sounds\\chars\\amb\\amb_cold.ogg",0,0);
FMODSoundAdd("sounds\\chars\\amb\\amb_lava.ogg",0,0);
With the search/replace function, to capture the initial string, I used under Find What: .\w+.*
However, I’m having trouble with executing the replace part. What exactly needs to go there to make it replace in a manner that achieves the above result? The basic solution I tried was using =FMODSoundAdd(“sounds\chars\amb\(.\w+.*)”,0,0); but that doesn’t work.
Thanks for any input.