I need to know how to replace parts of string variables with user-defined information. For example, whenever someone kills someone else with a particular weapon, the %k, %o, and %w elements in a string in the weapon's properties are replaced with the killer's name, the victim's name, and the weapon's name. I need a similar construction for my project, and I either need to find a sample of code that does it, or I need someone to tell me how it's done.
I have one theory. In most languages, there is a Mid() function used to return a piece of another string variable. However, there is also a Mid() command in some of these languages that is used to replace that part of the string with some other string content. Does this command exist in UnrealScript?
I have one theory. In most languages, there is a Mid() function used to return a piece of another string variable. However, there is also a Mid() command in some of these languages that is used to replace that part of the string with some other string content. Does this command exist in UnrealScript?