• 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] 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.
 
Level 3
Joined
Mar 27, 2004
Messages
70
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.
 
Level 2
Joined
Sep 10, 2004
Messages
19
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.
 
Level 2
Joined
Apr 13, 2004
Messages
29
Blizzard.j is the script file that contains all the utility functions that are used by GUI triggers. It can be edited and imported.
 
Level 2
Joined
Apr 13, 2004
Messages
29
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.
Top