Jump to content
Sign in to follow this  
PowerMage

Problem with Floats in Multiplayer

Recommended Posts

I have been working a while on a new mission where I use logical units dammage to represent a state.

For example I use setDammage 0.99 to tell the logical Unit that it's on the west side (dammage is checked by a skript run with this unit).

In Singleplayer everything works fine and all states are recognized correctly but in multiplayer these values seem to change. I set the dammage of a unit to 0.99 and let it draw it's dammage on screen but on screen it had a value of 0.988189. This only happened in Multipalyer. In Singleplayer the value is shown correct with 0.99. Is this a bug or is it a feature?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×