• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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?
 
Level 11
Joined
Nov 23, 2013
Messages
665
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.
Top