QUOTE(A_of_s_t @ Jul 1 2006, 10:56 PM)
yeah, ive looked through all of them, I get how to use most EUD triggers, but I dont get the damn text.
[right][snapback]516493[/snapback][/right]
Ah, ok, good.
Ok, basically, 1 EUD condition can be used to check 4 bytes that are next to each other in the SC memory.
These 4 bytes are 2 digit hexadecimal values.
In the case of text, each of these 2 digit values can hold a letter. The number in the value refers to the letter's ASCII code.
I'll use an example:
Deaths(P3, Exactly, 1869760060, 27716);
The deaths of unit #27716 for Player 3 can be used to test for the first 4 characters of one of the lines in SC.
1869760060 is the decimal value of the hexadecimal value of the ASCII equivelants of: "<Fro"
< = 3C
F = 46
r = 72
o = 6F
3C 46 72 6F
Since SC reads this stuff backwards, we get:
6F 72 46 3C
Punch that into the standard windows calculator under Scientific in Hex mode, and click Dec, and you get that:
6F 72 46 3C (in hex) = 1869760060 (in decimal)
You would need another condition to test for the next 4 letters. To test the next set of 4 bytes, simply add 1 to the player number, so to test for the next 4 bytes, you would use unit #27716 for P4. Once you get to 12 and need the next 4 bytes, increase the unit # by 1...