07.08.2011, 03:25
Quote:
The _: makes the variable tag-less. Originally you were returning a float tagged variable, by adding the _: tag (which is equivalent to no-tag) it removes the tag and converts the value to an integer in this situation.
|
Is this what you mean?:
I get the players health and save it to a float.
When i try to return that float, it results in a tag mismatch due to it being a float, and it cant just return a float?
You need to return it as a tagless, so it bypasses the float, and returns the float as a integra with the players health?