| 09-10-2005, 09:10 PM | #1 |
Im working on a campaign where im going to use certain triggers in all of the maps and i would like to know if there is a way to make the triggers so i have access to them from any map of the campaign instead of copy/pasting em on every single map. |
| 09-10-2005, 10:53 PM | #2 |
Vex made a nice little piece of software to do that, if I remember correctly. Check in the Warcraft Editing Tools forum. |
| 09-11-2005, 02:01 AM | #3 | |
Quote:
Eh? you mean the 1triggadd thingy? (if not plz refer a name, links are welcome) *cough cough* i dont see how that will be faster than copy/pasting em in every single map ... got a 100 triggers version Vex? =D Im still missing variables. =/What im most likely looking for is something that lets me... hmm... save a whole folder of triggers (or lots of folders) into the campaign file (but not into a specific map) and that i can run these triggers from any of the maps w/o the need of having these triggers on all of the maps. Copy/Pasting triggers aint fun, variables are just worse, they dont let us copy folders but just trigger by trigger... if i import i will lose my map's triggers... the hell with it! I guess i could try "Custom Scripting" the whole set of triggers so i get a text version and Copy/Past em all at once... |
| 09-11-2005, 09:53 AM | #4 |
Well, you could have thought ahead and made a map with all the common triggers and variables first, and then based every campaign map on that map. I think GUI triggers need some special variables predefined, which are made automatically when you create a GUI trigger. Converting them all to one custom text and copying that text might not work, because in the map you are copying them to you don't have those variables defined. This is all so simple with JASS and gamecache, but in GUI, I don't see a way to get around the issues you're having. |
| 09-11-2005, 10:48 AM | #5 | |
Quote:
Works fine to me ![]() |
| 09-11-2005, 06:20 PM | #6 |
You can copy folders. Just not multiple folders. Also, to transfer variables just turn on the WE Preference that allows it. Very simple procedure. |
| 09-12-2005, 03:43 PM | #7 | |||
Quote:
You mean the "Create Unknown Variables..." thingy? GREAT! never saw that before thx! Quote:
Well i thought of making a map with common triggers and variables first, but its erm... a team project and dis other guy begun working on the other maps w/o telling me. Then i remmembered that with the campaign editor you could "share" units, complements blah blah so i thought we could do the same with triggers... Quote:
hmm in one of my comps it works, in one it doesnt, probably just some Windows issue... wutever. Well what can i say... Copy/Paste triggers FTW! Although i can finish the campaign now without problems (thx to your help of course) i would still love some "trigger sharer" =P might lower the file sizes and maybe generate less lag (and dont forget the seconds wasted copying and pasting). |
| 09-12-2005, 06:05 PM | #8 |
I dont know of any way to do it without copying/pasting or gamecache. |
| 09-13-2005, 07:34 PM | #9 |
you can add the functions to a blizzard.j file this would only work if everyone has the modified blizzard.j and it's not a file that's auto-downloaded. Also warning you can mess up your game if you screw this step up. and the new code will be in all maps not just yours oh and blizzard.j is a text file, so convert to jass first ![]() |
