Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: SCMDraft Text Trigger Editor
SCMDraft Text Trigger Editor
Jan 19 2010, 3:51 am
By: rayNimagi  

Jan 19 2010, 3:51 am rayNimagi Post #1



If I want to use SCMDraft's text trigger editor (not TrigEdit Classic), how do I use it? It won't let me copy triggers from another map and paste them in the new map. I paste the triggers but they disappear when I re-open either trigger editor.

What I'm trying to do is make a ally/declare war system for my RTS map. I don't know how to use switches so I'm borrowing some triggers from another diplo map.



Win by luck, lose by skill.

Jan 19 2010, 3:56 am Falkoner Post #2



Make sure you hit the Debug checkmark, the button with the blue diamond and checkmark on it, that's the actual save button, if it says FINISHED! then that means it worked, otherwise there's a bug, the save button doesn't do anything.



None.

Jan 19 2010, 2:23 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from rayNimagi
I don't know how to use switches so I'm borrowing some triggers from another diplo map.
There's no such thing as not knowing how to use them. Seriously there's nothing about it.
You can set or clear them in actions and you can check their state in conditions. A simple binary variable, yes or no.

They're useful to register when something happened and dependent on that event want to fire multiple triggers.
They can also be randomized, so n switches can generate a random number between 0 and 2^n-1

Post has been edited 2 time(s), last time on Jan 19 2010, 6:12 pm by rockz. Reason: 2^n, not n^2




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
Please log in to shout.


Members Online: anoeth47