[JASS] using external script

Status
Not open for further replies.
Level 2
Joined
Sep 10, 2004
Messages
19
I am building a campaign that uses the same 100 or so triggers in each of the 20 maps. I dont like having the code repeated, especially if I need to edit it from time to time. I was wondering if i could use jass so that a script could keep all of the triggers seperate from the individual maps.
 
You could try merging them into blizzard.j and then import your custom blizzard.j to the campaign archive. You still need to call an initializer function in the blizzard.j archive if any of the triggers are to run on map initialization, but that shouldn't be too much of a pain.
 
Sorry. That went right over my head. where is the blizzard.j file and how do i edit/import it?
Sorry if I sound like a dunce.
 
Blizzard.j is the script file that contains all the utility functions that are used by GUI triggers. It can be edited and imported.
 
With the usual import functionality of WE.
If your question is rather how to get Blizzard.j in the first place, then get yourself an MPQ archive program like WinMPQ and extract in from War3patch.mpq
 
Status
Not open for further replies.
Back
Top