rvg?! Posted July 22, 2016 Report Share Posted July 22, 2016 Hi, does anyone know the default Hit Eventhandler divider/factor for Epoch? {_x addEventHandler["Hit",{(_this select 2)/???;}]; Thx in advance. Link to comment Share on other sites More sharing options...
He-Man Posted July 23, 2016 Report Share Posted July 23, 2016 14 hours ago, rvg?! said: Hi, does anyone know the default Hit Eventhandler divider/factor for Epoch? {_x addEventHandler["Hit",{(_this select 2)/???;}]; Thx in advance. I'm not sure, but I think Epoch has no "hit" eventhandler for handling damages: For Player in cfgepochclient.hpp: addEventHandler[] = {"Respawn","Put","Take","InventoryClosed","InventoryOpened","Fired","Killed","HandleRating","GetInMan","GetOutMan"}; For Vehicles: _this addMPEventHandler["MPHit", { EPOCH_saveVehQueue pushBackUnique (_this select 0) }]; Link to comment Share on other sites More sharing options...
rvg?! Posted July 23, 2016 Author Report Share Posted July 23, 2016 When i add my handledamage EH to the Construction and remove it after a while the walls even get damaged by a small handgrenade. Thats the reason why i want to modify the hit EH to get the old state back. Link to comment Share on other sites More sharing options...
rvg?! Posted July 24, 2016 Author Report Share Posted July 24, 2016 getHit EH does the trick. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now