TakeDamage can only give 0.5 hearts
#7
Tolua docs say overloading works, and the generated glue code seems like it should work. Only I guess it doesn't work properly with nil values.

Anyway, we could cook up a few synonyms for the needed functions, such as TakeEnvironmentalDamage(Amount, Knockback)
Reply
Thanks given by:


Messages In This Thread
TakeDamage can only give 0.5 hearts - by NiLSPACE - 04-09-2013, 12:39 AM
RE: TakeDamage can only give 0.5 hearts - by xoft - 04-09-2013, 01:12 AM
RE: TakeDamage can only give 0.5 hearts - by xoft - 04-09-2013, 02:05 AM
RE: TakeDamage can only give 0.5 hearts - by xoft - 04-09-2013, 04:45 AM
RE: TakeDamage can only give 0.5 hearts - by xoft - 04-09-2013, 06:14 AM



Users browsing this thread: 1 Guest(s)