Dota 2 Workshop Tools/Scripting/API/Global.FileToString

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 09:12, 17 June 2015 by RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Note: This page is automatically generated. Any changes may be overwritten

Function Description

string FileToString(string a)

Reads a string from a file to send to script

  • Directory traversal doesn't seem to work. The characters '.', '/' and '\\' are ignored.
  • The files are read from C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota_ugc\game\dota\ems
  • The function is used in conjunction with StringToFile


Type Name Description
string a No Description Set


string - No Description Set