TakeDamage can only give 0.5 hearts
#4
I don't understand the question.

To call one of those functions, you need to supply the correct number and types of parameters. Once you do, Lua will automagically call the correct function, even when the names are the same. C++ has the same feature, it's called function overloading.
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)