Gez
Why don't I have a custom title by now?!
Posts: 9159
Registered: 07-07 |
If the script is called by a line, unless the map is in UDMF, you can't go past 255, because that value is written as a single byte. So any multiple of 256 is removed. In other words, 1000 in hexadecimal representation is 3E8, which would need two bytes to be represented: one with 03, the other with value E8. But only the least significant byte gets written, so you don't have 3E8 but just E8. And E8 in decimal is 232. (In a more mathematical way, 1000/256 = 3, with a remainder of 232.)
So you need to give your script a number lower than 1000. For example, 232 since that's what your map expects.
|