Author Topic: how to do a " while using %file.writeLine  (Read 586 times)

%file.writeLine("      uiName = "WeaponName";");

gives me a syntax error because of the "" around WeaponName, how to fix?

Precede it with a backslash: \
This is called an escape character.



What are you actually trying to do, though? There might be a better method.

a very roundabout way to generate weapons