• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Jass code

Status
Not open for further replies.
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.
 
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
 
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.
 
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.
Back
Top