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

Jass code

Status
Not open for further replies.
Level 5
Joined
Jun 12, 2018
Messages
149
Hi ! I think you should provide more information/code to get help here.

What's your question ?
 
Level 5
Joined
Jan 19, 2020
Messages
102
yes the informations are all at the link, the whole code.
The question is how i can get the Error away.

its about the undecleared function create Text file.
 
Level 5
Joined
Jan 19, 2020
Messages
102
yes, i did all what is done there, and i got the errors shown in the last post, and cant fix them

i got this

call CreateTextFile(c)
return c
 
Level 5
Joined
Jun 12, 2018
Messages
149
Have you tried to put the CreateTextFile trigger at the beginning of all your triggers ? -> click on the map name within the trigger editor and paste the code given in the example.
 
Level 5
Joined
Jan 19, 2020
Messages
102
how you mean ? i pasted it on top of return c, and i pasted the other stuff into my code as well, that was posted.

i pasted the other code as well.



I also can save it but got the bugs as the one who asked there, but it is not fixed if i put the function on the top, of return c, still get the 2 errors

Now i get Not enough arguments passed to function CreateTextFile. Still missing SaveCode

in the Trigger for Custiom script call CreateTextFile()

okay i fixed it thats how

the long code on the map name needs to be at the top.


call CreateTextFile(c)
return c

like this

and then remove call CreateTextFile() from the trigger
 
Last edited by a moderator:
Status
Not open for further replies.
Top