ShadowFlare's Realm
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl
ShadowFlare's Realm Forums >> Program Development >> How can I count the times of hero death?
http://sfsrealm.hopto.org/cgi-bin/yabb2/YaBB.pl?num=1162207149

Message started by shasure520 on Oct 30th, 2006, 10:19am

Title: How can I count the times of hero death?
Post by shasure520 on Oct 30th, 2006, 10:19am

How can I count the times of hero death?

Map:Dota AllStars

Thanks!

Title: Re: How can I count the times of hero death?
Post by Bomber7 on Jul 4th, 2007, 4:54pm

Your joking me. Have you taken algebra? If not your doomed!
Algebra
A + 4 = 6
Thus A = 2
This is one way you could do it depending on where you want to store the value:
Event: Generic Unit Dies
Condition: Boolean Classification Check, Is a Hero = True
Action: Set Custom Value of (Unit dieing unit) to Custom Value of (Unit Dieing Unit) + 1

Title: Re: How can I count the times of hero death?
Post by d07.RiV on Jan 13th, 2008, 3:09pm

bomber7: youre the one whos got to be joking. he means either how many times hero has died or at what time hero died in dota map.
if you need to count the amount of time hero died - there is an "endgame action", another topic that discusses it: http://shadowflare.samods.org/cgi-bin/yabb/YaBB.cgi?board=dev;action=display;num=1186677656

if you need to know when heroes died - thats impossible.

ShadowFlare's Realm » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.