• 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.

Automatically making udg variables

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,338
Hi,

Is there anyway to automatically make pre-placed objects in the WEditor, where doing so invokes their variable as well?

e.g. suppose my map used udg_unit_hfoo_0000.

But suppose then I change the map to another one. I then have to find a new reference manually for that variable, otherwise it won't compile.

Is there anyway it can be done automatically, without making a GUI trigger to evoke the variable?
 
Level 13
Joined
Oct 16, 2010
Messages
737
If this is for a campaign or something then you could export all of the object data then export it to the map. Then without touching anything copying all of the triggers from the first map into the new map it should sort out all the variables for you (as long as you have that box checked in settings).

It may work but it may not, it's worth a shot!
 
Status
Not open for further replies.
Top