• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to export all triggers in a map as a text file?

Status
Not open for further replies.
Level 4
Joined
Jan 27, 2016
Messages
89
And have it be divided the same way as the editor? I know you can manually convert each trigger to custom text but how to do it for all at once?
 
In Trigger editor, try File > Export triggers. It generates .wtg and .wct files that you can import to your map.
Be careful though, importing triggers overwrites existing triggers.

But this doesn't do the same thing as copying triggers as text. You can open .wtg files with a text editor, but you can't read them like you would with "copy as text".

You can also extract the file war3map.j (with WinMPQ for example), I think it contains all the triggers, it's jass code though.
 
Status
Not open for further replies.
Back
Top