HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

default script to any map

11-04-2002, 09:50 AM#1
Guest
i want one script to be the base for all new maps.
z.b. define global vars
or triggers which will be used from other maps

first thing i tried to export the base script from the
main map (war3map.j) and import it
to another w3m file.

but now the worldedit does not show the triggers..
so i copied the other files wts wtg.. etc. from the
main map to the destination maps.

now the wedit shows the triggers and vars correctly
but this works only if the destination maps where
just created with no editings (such as inserting doodads
, units, regions, cameras ) just easy terrain editing.

---
now you ask why i dont copy & paste the trigger from the
main to the other maps?
1. do this on more than 20 maps and you got crazy
2. the vars made can't be drag' n dropped. so i have to
create each var in the destination maps, one by one...
*ARGH*

---
so i want to know,
A. how to make a global script which can be used from other maps as base
B. how to copy variables from one map to another

thanks for ya time! :-)
11-04-2002, 02:38 PM#2
Guest
The triggers should be easy enough. Just put all of the triggers into one folder in the original map, and then copy-and-paste the entire folder.

Variables are another story though, I'm not sure of any good way to do that.
11-04-2002, 05:28 PM#3
CBWhiz
Varaibles: Dont know a GOOD way, so I wont mention this one...

Triggers: Edit WorldEditData.txt (I think), scroll bottom, add ur triggers next to the Melee Initilization trigegrs