• 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.

BlzLoadTOCFile fails on empty file?

Status
Not open for further replies.
Level 2
Joined
Apr 27, 2019
Messages
4
Here is the piece of code:

print("Readyin' UI")
if BlzLoadTOCFile("war3mapImported\\fuck.toc") then
print("success")
else
print("em fuck it")
end

It is executed when an user says "r" in chat.

I get output:
Readyin' UI
em fuck it

The TOC file is empty, and the path is correct.

Did they change something in reforged?

EDIT: by the way, print function is defined to output text in chat
 
Last edited:
Status
Not open for further replies.
Top