HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is there a 'Campaign Triggers' area?

05-06-2006, 07:08 AM#1
RaeVanMorlock
I was wondering.. when making a campaign, there's a section in the object editor to create things that will be available in all maps of the campaign. Is there anything similar for triggers/jass?

I imagine creating custom abilities would be quite troublesome if you need to copy/paste the code into every single map and then update each one everytime it needs an edit.
05-06-2006, 01:55 PM#2
Captain Griffen
If only....

*considers the bliss*

I don't think there is.
05-06-2006, 03:10 PM#3
Tim.
You can use a custom blizzard.j file.
05-06-2006, 03:15 PM#4
Captain Griffen
Could you do all the campaign triggers in JASS in the part where you can declare functions for the whole map? Would be easier than using a custom blizzard.j (much easier to change, as you can just copy and paste the whole lot). May have a problem with map init functions, but you could run them from a single trigger.
05-06-2006, 08:50 PM#5
Soultaker
Instead of using a custom blizzard.j you could save your Abilities/Unit Info as a file and the load it unto your other maps. Then they will all have the same 4-digit code and that stuff.

But you should remember to do it before you do anything, because it erases everything else.

- Soultaker
05-06-2006, 08:52 PM#6
Captain Griffen
Blizzard.j is for triggers. For object data you can just use the campaign editor, which can store object data for the whole campaign.

You could export the triggers, and then import them, but the problem is:

- It erases other triggers.
- It takes considerable effort.
- Changing anything is a big hassle.
05-06-2006, 09:14 PM#7
Tim.
This is why you use the blizzard.j for all your triggers you want to run on multiple maps.
05-07-2006, 11:34 PM#8
RaeVanMorlock
Quote:
Originally Posted by Tim.
You can use a custom blizzard.j file.

Very nice idea.. thanks.
05-08-2006, 02:05 PM#9
boomwolf
there is a way past this...
in the campaigen making menu there is a object editor right? right!
if you edit that one to watever you want and then make a new map FROM the campaigen editor it should automatcly have the new data...
05-08-2006, 02:11 PM#10
Tim.
... He wanted to transfer TRIGGER data not OBJECT data.