Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [Solved] Copy and Paste in SCMDraft 2
[Solved] Copy and Paste in SCMDraft 2
Mar 3 2014, 12:04 pm
By: Stranger  

Mar 3 2014, 12:04 pm Stranger Post #1



Hi,

I was wondering.. Since the "Trigger Editor" exists in SCM Draft 2 and triggers look like code, is there a way to work on your triggers in that mode instead of doing it in the classic trigedit ?

Recently I tried to make few changes to my triggers in Trigger Editor because I thought it would be much faster to do that rather than do it the traditional way. But when I got back in the classic trigedit to check, the changes I made in the Trigger Editor didn't seem to be there at all.

In my case, I have something like 1200 triggers which have at least 1 similar condition which is "If Player brings at least 1 Terran Civilian to...."

And I'd like to replace the Terran Civilian unit with a Devouring one (zergling). If the trigger editor works well, I could use Notepad++ to replace "Terran Civilian" by "Devouring One (Zergling)" and then copy/paste the new triggers all at once.

How should I proceed ?

Post has been edited 1 time(s), last time on Mar 3 2014, 3:22 pm by Stranger.



None.

Mar 3 2014, 12:47 pm Moose Post #2

We live in a society.

You have to hit the debug/compile button to save triggers in Trigedit. (It's the rightmost, next to the question mark.) That makes it check for errors; if the only error is "Done!", then the triggers saved.




Mar 3 2014, 12:49 pm Roy Post #3

An artist's depiction of an Extended Unit Death

Yes, you can use the text trigger editor. You just have to hit the compile button (blue diamond over a black check mark) to save your changes. If it says "started" and "done" then it properly compiled. If it gives an error like "Expected Unit at line 59" then it didn't compile and won't save any changes until you fix it and compile again.

The text trigger editor doesn't recognize some extended values you can enter into the classic trigger editor, so if you're using EUDs this could be a potential problem.

Edit: Aw, Moose beat me to it.




Mar 3 2014, 3:22 pm Stranger Post #4



Quote
Edit: Aw, Moose beat me to it.

xD

Wow, that's incredible, my current map might actually not take AGES to be finished !

THANK YOU GUYS ! This is great help !

This map doesn't use EUDs, I just have to watch out for the text manipulation. This is great, thanks :)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
Please log in to shout.


Members Online: Roy