Is there a way to disable the hero potraits that pops up in the left side of the screen when you are killed by a hero on the enemy team?
Is there a way to disable the hero potraits that pops up in the left side of the screen when you are killed by a hero on the enemy team?
Last edited by cloistough; 03-22-2016 at 05:51 AM.
bump
when hero diedCode:local ownerHero = hero:GetPlayerOwner() if ownerHero then Timers:CreateTimer(0.1,function() ownerHero:SetKillCamUnit(nil) end) end
?
Every time you have an issue, spend at least 5 minutes on each of these four sites Google, Wiki, Github, and ModDota
If you still can't figure out your issue, post your issue on moddota in as much detail as possible with a SSCCE. If you do not complete these requirements, than you will be rejected by the community. Try not to contact individual users for help as we are very busy.
thanks for bumping
he gave you the answer already; you won't get any additional help
Every time you have an issue, spend at least 5 minutes on each of these four sites Google, Wiki, Github, and ModDota
If you still can't figure out your issue, post your issue on moddota in as much detail as possible with a SSCCE. If you do not complete these requirements, than you will be rejected by the community. Try not to contact individual users for help as we are very busy.
Could you clarify what he means?
bumping
It's a bit of code that uses a clever hack to disable the 'kill cam' for custom games.
In essence, the kill cam is created some time after the hero dies. This code removes the object 0.1 second later, so the kill cam is shown far more briefly.
I would prefer code that uses a trigger to disable the cam directly after it starts to show or changes an ingame setting to do so than a solution like this, but it may be that this is the closest you can get to properly disabling it. It would be nicer if we could eliminate the arbitrary 0.1 second delay, somehow.