So eh... yes, I'm sure it'll work ^_^
Yay, people learn!
(08-30-2014, 05:31 PM)First Captain Wrote: (08-30-2014, 03:27 PM)FlawlessHappiness Wrote: SetMessage("Messages", GetLocalVarString("StringVar"), 0);
Like what Daemian said, how is it possible? The argument is
void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
The second argument is the Entry in the .lang file. This obviously won't work because the second argument IS FOR the Entry in the Category, NOT FOR a StringVariable.
Also this:
Did you notice the SetMessage has string& asTextEntry for the entry?
That little "string&" is the exact reason I can do it. Because it's just a string. A string is a word. It'll just change the LocalVarString to the word it's supposed to be.
I can also confirm that it works, since I'm using it in my Mod.
Trying is the first step to success.