|
Post by AppThing on Jun 12, 2014 8:02:23 GMT
Just thought I'd start a thread of future feature suggestions for the developer(s). One that I have (as well as the Player Spawn suggestion in another thread) is: 1) Allow the The Killable Listener script to return true/false on the "TakingDamage" function and then stopping the damage taking effect if it is false. This would allow coders to override the damage effect using their own logic if needs be. 2) As previously mentioned by DarkTonic Dev it would also be great if the Killable could support having negative AttackPoints. So a power up could generate " HitPoints" for another killable. Or a variant of this could be that whilst "equipped" by a player a Killable could add negative damage, but when destroyed it inflicts normal damage? that's all for now, but I'll add any other things as I think of them. Anyone else got any ideas? 
|
|
|
Post by DarkTonic Dev on Jun 12, 2014 19:14:51 GMT
I'm almost done with the Player Spawn mods.
For #1, I'll move the Taking Damage listener point into the TakeDamage method in Killable. That method virtual and can use overrides. I think it's better to make a Killable subclass and override there, vs in the Listener. #2, yes negative attack points is on the list. I'll take a look at that soon. The other suggestion there doesn't sound like it could be used in a zero code fashion...
|
|