• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Creating .txt file in editor

Status
Not open for further replies.
Level 2
Joined
Jan 21, 2009
Messages
10
Hey, i would like to save a string variable as .txt file like with save/load codes. Please don't send me other systems or links to threads, i have already read them, i just need some specific codes which allows me to create .txt file with couple of strings inside. Can someone help me with this or explain?
 
The problem with clean .txt files is that JASS can't read it, in case you need to load it again.
So if you need save/load localy then you can use this JASS/jass/Systems/File IO at master · nestharus/JASS · GitHub.
It will generate extra texts to the file, but which is required to properly use it again with JASS.

If you want to create clean .txt files (only writing, without reading again with JASS) then you can use TextFile.
 
Status
Not open for further replies.
Top