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.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
[2024-5-16. : 5:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
Please log in to shout.


Members Online: 9harperc1123yL4, 9andrewe821rN6, Roy