- Joined
- Dec 10, 2008
- Messages
- 59
Hello.
Not sure if the thread's title is correct or not...but oh well, i'll explain it via the questions.
I've been thinking, how do you stack integers (like Kill amounts) and set a limit for them? An example will be Shadow Fiend's Necromastery or something in DoTA, where the more he kills, the more attack he gets (and sorry for the constant mentioning of DoTA, not that i like the map, it's just the best map to set references)
So, how do i keep on summing up the integers (in this case, kill counts) and then, say when it reaches 80, it stops adding. Also, how do i REDUCE it, like when Shadow Fiend dies, the number of souls in his Necromastery gets reduced to half. I understand it's triggered (at least, i THINK it is), but i'm not really sure what to input D=
Thanks in advance to any good Samaritans XD
Not sure if the thread's title is correct or not...but oh well, i'll explain it via the questions.
I've been thinking, how do you stack integers (like Kill amounts) and set a limit for them? An example will be Shadow Fiend's Necromastery or something in DoTA, where the more he kills, the more attack he gets (and sorry for the constant mentioning of DoTA, not that i like the map, it's just the best map to set references)
So, how do i keep on summing up the integers (in this case, kill counts) and then, say when it reaches 80, it stops adding. Also, how do i REDUCE it, like when Shadow Fiend dies, the number of souls in his Necromastery gets reduced to half. I understand it's triggered (at least, i THINK it is), but i'm not really sure what to input D=
Thanks in advance to any good Samaritans XD