• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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