Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Using SCMDraft Trigedit with unit ids
Using SCMDraft Trigedit with unit ids
May 13 2014, 10:20 am
By: sethmachine  

May 13 2014, 10:20 am sethmachine Post #1



Hi,

I am using leaderboards to show some deaths of units, e.g. "ID:366" (=Queen's Nest I believe).

But, if I try to compile these in Trigedit, it claims they are not units and therefore refuses to save. This means everytime I want to make a change to my triggers which requires a text macro, I have to delete the leaderboards and write them in Classic trigedit all over again.

Any way around this?



None.

May 13 2014, 10:26 am NudeRaider Post #2

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

Wait until jjf finishes his editor. :P (that is a "no".)
Well, no for triggering with ScmDraft, that is. There's certain trigger editors that can integrate their generated triggers right into a map. Though I'm too out of touch to point you towards a specific one.

Alternatively never have the leaderboard triggers in your map and just add them for release candidates.




May 13 2014, 12:34 pm sethmachine Post #3



Is the source code open for SCMDraft? I don't know C or whatever language it is, but it's a simple matter of adding strings like "ID: x" where x is some integer. That'd be a few lines of code to add....



None.

May 13 2014, 1:02 pm Roy Post #4

An artist's depiction of an Extended Unit Death

No, the author of ScmDraft has consistently declined the release of its source code to anyone for various (read: dubious) reasons.

It's still possible to edit by reverse engineering the binary, but trying to add code that way is a nightmare, even if you're competent with C. You'll just have to deal with its shortcomings and various bugs.




May 13 2014, 4:05 pm jjf28 Post #5

Cartography Artisan

CHKDraft's text triggers are in complete working condition http://www.staredit.net/files/2741/, uses the same format as SCMDraft's, accepts numbers and ID notation for all fields.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

May 13 2014, 4:14 pm LoveLess Post #6

Let me show you how to hump without making love.

Using the Classic editor in SCMDraft allows for the flawless use of Unit IDs and Memory, however Trigedit wasn't made to fully support both as they still cause issues now/then.

So either use jj's editor for triggers or use classic to handpunch them. In the event that you need them for mass triggering... sorry



None.

May 14 2014, 6:30 am sethmachine Post #7



Is there no flag I can set which says ignore compiler errors? I know this can be done in Warcraft 3 for JASS, because if you did have an actual error the map will refuse to load.



None.

May 14 2014, 6:35 am jjf28 Post #8

Cartography Artisan

nope, not in either compiler, lotsa work for little-to-no end (ignoring some extranee punctuation might be useful but ignoring anything wrong with the actual triggers/conditions/actions/fields would be more confusing than helpful)



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: jun3hong