Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Scmdraft Text Triggers
Scmdraft Text Triggers
Dec 19 2008, 1:01 am
By: stickynote  

Dec 19 2008, 1:01 am stickynote Post #1



When I type my triggers in, they don't show up in the classic mission briefings. I know I typed them in correctly because I made a trigger with the regular trigger editor, then swapped to the text editor, changed a value, then double checked to see if the value changed in the classic editor. Is there something I'm supposed to do to keep the changes?

On a side note, can the new version of scmdraft create EUD's? Or can they just view them?



None.

Dec 19 2008, 1:10 am Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

you can create some EUDs with the classic trigedit, but not with the text based trigedit.
Just type "UnitID:####".
you cannot enter more than 4 number chars :S
-> you cannot create farty's portrait changing triggers with scmdraft...
I already send an e-mail to suicidalinsanity and I hope he will do it (got no answer)




Dec 19 2008, 1:10 am 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

The text based briefing editor is not working.
When using the text based trigger editor make sure you hit the compile button before exiting. This is the small checkmark on the right of the toolbar.




Dec 19 2008, 2:14 am stickynote Post #4



Quote
Just type "UnitID:####".
Exactly 4 digits? It can't be more? Even with 4 digits it doesn't seem to work.

When I hit compile, it says:
Error at line 0: Started
Error at line 30: done!



None.

Dec 19 2008, 4:22 am NudeRaider Post #5

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

Make sure you have the latest version from Stormcoast Fortress: 0.8.0.0b
Only that one allows entry of EUDs and only in Classic. Watch upper/lower case.

Even though it says error the "type" of error (started/done) tells you everything worked. Try removing a semicolon or something to generate an error and you'll see the difference.




Dec 19 2008, 5:48 am stickynote Post #6



Quote
Player 1 has suffered at least 0 deaths of UnitID: 2540
Is that how it should be done? It doesn't work.



None.

Dec 19 2008, 10:12 am Ahli Post #7

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

I just checked it again.
you need to type "ID:####".
I'm able to create longer EUDs than ####, but I don't know how I can get the right one:
I'm typing ID:99999 and I get ID:34463.
I'm typing ID:-99999 and I get ID:31073.
uhm, I don't get it...




Dec 19 2008, 11:32 am poiuy_qwert Post #8

PyMS and ProTRG developer

The reason it "changes" is because the number is restricted to an unsigned word (0 to 65535), so it does "Number % 65536" (% = modulo) to keep it in range.




Dec 19 2008, 1:24 pm NudeRaider Post #9

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 stickynote
Quote
Player 1 has suffered at least 0 deaths of UnitID: 2540
Is that how it should be done? It doesn't work.
Try removing the space and "Unit":
ID:2540
And press enter after it. It won't input it if you just click outside.




Dec 19 2008, 11:15 pm stickynote Post #10



Thanks, it works now. This topic can be locked.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
[2026-10-09. : 1:31 am]
Ultraviolet -- Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Please log in to shout.


Members Online: Zakerozi, ZOVBOT, RIVE