![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
Does anyone know off hand if there is a function in AI to set karma on a player?
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 150
|
Code:
c1 = GetLastAttacker();
i1 = c1.karma;
//DYING_ACTIONS_START
if (Karma_cleaner == 1 && i1 > 0)
{
c1.karma = i1 - Karma_clean_amount;
}
//DYING_ACTIONS_END
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
in c4 you can just make
attacker.karma = ( attacker.karma + 500 ); (or - / *... whatever you like) |
|
|
|
|