RedEagle_P1. 905 Posted November 29, 2018 Not long ago I went through some tough health issues where my life was in danger. I just survived and it really changed my perspective on life. During that time I decided I want to use my short time on earth to build people up and I also renounced violence of even the slightest kind in entertainment. I want to create games where combat is possible without the concept of death/hurt or violence. Some sort of way of tracking hits without hurt would be a game-changer for our ability to make games. Share this post Link to post Share on other sites
Rudy.cz 41 Posted November 30, 2018 It is possible to track On Damage event on players using Event Listener. So you can revert the damage and store some kind of "hit count" variable in a Entity storage attached to each player. 1 Share this post Link to post Share on other sites
Oliver Hope 261 Posted November 30, 2018 2 hours ago, Rudy.cz said: It is possible to track On Damage event on players using Event Listener. So you can revert the damage and store some kind of "hit count" variable in a Entity storage attached to each player. @RedEagle_P1. I was not aware of this, this could REALLY help with optimizing my game, fingers crossed. Share this post Link to post Share on other sites
Rudy.cz 41 Posted November 30, 2018 Put all players in a label (i.e On Spawn) and then setup listener like this. Share this post Link to post Share on other sites
Oliver Hope 261 Posted December 1, 2018 18 hours ago, Rudy.cz said: Put all players in a label (i.e On Spawn) and then setup listener like this. Will it be possibly to make the targets entities in an array at some point? Also it would be really nice to have the damage the entity took as a parameter Share this post Link to post Share on other sites
Rudy.cz 41 Posted December 3, 2018 On 12/1/2018 at 9:03 AM, Oliver Hope_P1 said: Will it be possibly to make the targets entities in an array at some point? Also it would be really nice to have the damage the entity took as a parameter 1) That wouldn't be possible unfortunately, Arrays weren't designed that way, you will have to use Entity Label 2) We are currently working on this! Share this post Link to post Share on other sites