Page 2 of 2

Posted: 20 Aug 2007, 22:20
by imbaczek
zwzsg: that's called passing a callback. you pass a *function* as an argument, and the one that gets it applies it to arguments of it's choosing.

in Lua, a function is a value in the same way a integer or string is.

Posted: 20 Aug 2007, 22:40
by KDR_11k
Is that actually a callback or more of a functional?

Posted: 20 Aug 2007, 23:21
by Kloot
A callback, functionals formally only have (a set of) functions as their domain if I RC.

Posted: 23 Aug 2007, 18:12
by Forboding Angel
Question, could you make a version of this that displays for everything taking damage? Friendly or enemy? Also, so that specs can see it?

Please? WOuld me much more useful to me.