|
Post by BanaaN* on Nov 2, 2010 20:47:54 GMT 2
You probably already know about the critical hit bug: And today I had this one: The koth hud images (for the time left) suddenly started moving and eventually came to a hold somewhere at the right top:
|
|
|
Post by BetaM (mat5b) on Nov 2, 2010 20:49:39 GMT 2
Yeah that's some random unwanted bug that I have in every script that uses images so far. At least it happens rarily rather than before the Demoman update - often.
It's the imagepos() function. It was used as a way to transport the crit image before there was an option to make it over a player's head. I'll try to reduce the use of that function to minimum.
|
|
|
Post by BanaaN* on Nov 2, 2010 21:11:22 GMT 2
So it's a bug in the function itself rather than in the script? (I never use LUA image functions)
Though I do have to say that I've seen the crit bug a lot, and this was the first time I had the hud image bug...
|
|
|
Post by BetaM (mat5b) on Nov 2, 2010 21:18:54 GMT 2
Since 0.1.1.8 came out such bugs are happening more often. Maybe it's because DC doesn't tell us (scripters) how does CS2D handle image ID's and if they are dynamic (which is the case here).
|
|