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.
[02:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
Please log in to shout.


Members Online: Zycorax, Oh_Man