Tesh Custom Functions

Toriad

New Member
Reaction score
4
is there a way to add a Custom Function to TESH's autocomplete? :( its really annoying to remeber the exact arguemnts for a custom fucntion that i use alot.
 

Artificial

Without Intelligence
Reaction score
326
Place all of the functions you wish to use to a file named custom.j and place that file inside <your NewGen folder>/tesh/includes. And puff, you're done (you might need to restart NewGen, though. Can't remember). And I don't think it supports vJass features, so you might need to place "dummy functions" in there instead of the real ones (in case they are in vJass). Eg. I placed TT in there like this:
JASS:
function TT_Start takes code func, integer data returns nothing
endfunction
function TT_GetData takes nothing returns integer
    return 0
endfunction
And remember that you can't use the functions in the custom.j if you don't have them separately in your map.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top