Obligatory "I ruined everything!" thread
#24
(07-12-2012, 04:46 AM)Lapayo Wrote: But there must be another solution, I really hate these linesBig Grin

That's right, those lines are pain to write for simple things. That's why I was planning on adding a few utility functions for the usual actions done with objects. So you'd actually call World->EntityTakeDamage(EntityID, DamageAmount); and it would internally use the callback mechanism. Didn't get around to writing this yet, though.

This would be especially good for Lua, so that plugins don't need to write those callbacks too often. Lua people get weirded out by them Wink
Reply
Thanks given by:


Messages In This Thread
RE: Obligatory "I ruined everything!" thread - by xoft - 07-28-2012, 07:20 AM



Users browsing this thread: 5 Guest(s)